Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

art.figlet

big-letter banners in FIGlet fonts like slant and shadow, or any .flf file

Example results generated on 2026-10-08. Ones using now, today or randomness will differ when you run them: press Run on any example to run it in your browser, after editing it if you like.

Functions

functiondescription
banner(s: str, font?: str)big letters; font is “block” (default, A-Z, 0-9, some punctuation), one of fonts(), or a path to a FIGlet .flf file
fonts()the built-in banner fonts

banner(s: str, font?: str): big letters; font is “block” (default, A-Z, 0-9, some punctuation), one of fonts(), or a path to a FIGlet .flf file

banner("hi!")
# → ██  ██  ██████    ██
# → ██  ██    ██      ██
# → ██████    ██      ██
# → ██  ██    ██
# → ██  ██  ██████    ██
banner("zil", "slant")
# →         _ __
# →  ____  (_) /
# → /_  / / / /
# →  / /_/ / /
# → /___/_/_/

See also: fonts, segments, style

fonts

fonts(): the built-in banner fonts

fonts()
# → ["block", "standard", "small", "slant", "big", "mini", "smslant", "shadow", "smshadow", "script", "smscript", "lean", "banner", "bubble", "digital"]

See also: banner

More examples

banners

# a README header
banner("zil", "standard")
# →      _ _
# →  ___(_) |
# → |_  / | |
# →  / /| | |
# → /___|_|_|
# every font
fonts().map(|f| banner("Hi", f)).join("\n")
# → ██  ██  ██████
# → ██  ██    ██
# → ██████    ██
# → ██  ██    ██
# → ██  ██  ██████
# →  _   _ _
# → | | | (_)
# → | |_| | |
# → |  _  | |
# → |_| |_|_|
# →  _  _ _
# → | || (_)
# → | __ | |
# → |_||_|_|
# →     __  ___
# →    / / / (_)
# →   / /_/ / /
# →  / __  / /
# → /_/ /_/_/
# →  _    _ _
# → | |  | (_)
# → | |__| |_
# → |  __  | |
# → | |  | | |
# → |_|  |_|_|
# → 
# → |_|o
# → | ||
# →    __ ___
# →   / // (_)
# →  / _  / /
# → /_//_/_/
# →  |   |_)
# →  |   | |
# →  ___ | |
# → _|  _|_|
# →  |  |_)
# →  __ | |
# → _| _|_|
# →  ,
# → /|   | o
# →  |___|
# →  |   |\|
# →  |   |/|_/
# →  ,
# → /|  | o
# →  |--| |
# →  |  |)|/
# → 
# →     _/    _/  _/
# →    _/    _/
# →   _/_/_/_/  _/
# →  _/    _/  _/
# → _/    _/  _/
# → #     #
# → #     # #
# → #     # #
# → ####### #
# → #     # #
# → #     # #
# → #     # #
# →   _   _
# →  / \ / \
# → ( H | i )
# →  \_/ \_/
# → +-+-+
# → |H|i|
# → +-+-+
# a boxed title
banner("v2", "small").boxed("round")
# → ╭───────────╮
# → │      ___  │
# → │ __ _|_  ) │
# → │ \ V // /  │
# → │  \_//___| │
# → ╰───────────╯