Create ASCII art banners using figlet. Use this when the user asks for big text, banners, or ASCII art.
This skill allows you to generate large ASCII text banners using the figlet command.
To create a basic banner using the standard font:
figlet "Hello World"
You can change the style of the text by using the -f flag followed by the font name.
figlet -f slant "Hello"
-c to center the output.-r-l (defaut).-w <columns> to specify the output width (default is 80).Example:
figlet -c -w 100 -f big "Centered Header"
Below is a comprehensive list of available fonts categorized by style. Use these names with the -f flag.
banner3 or similar is usually horizontal).If you need a specific font not listed above, you can verify its existence by running:
ls $(figlet -I 2)
Common fonts found on many systems:
3-d, 3x5, 5lineoblique, acrobatic, alligator, alligator2, alphabet, avatar, banner, banner3, banner3-D, banner4, barbwire, basic, bell, big, bigchief, binary, block, bubble, bulbhead, calgphy2, caligraphy, catwalk, chunky, coinstak, colossal, computer, contessa, contrast, cosmic, cosmike, cricket, cursive, cyberlarge, cybermedium, cybersmall, diamond, digital, doh, doom, dotmatrix, double, drpepper, eftichess, eftifont, eftipiti, eftirobot, eftitalic, eftiwall, eftiwater, epic, fender, fourtops, fraktur, fuzzy, goofy, gothic, graceful, gradient, graffiti, greek, heart_left, heart_right, hex, hollywood, invita, isometric1, isometric2, isometric3, isometric4, italic, ivrit, jazmine, jerusalem, katakana, kban, keyboard, knob, larry3d, lcd, lean, letters, linux, lockergnome, madrid, marquee, maxfour, mike, mini, mirror, mnemonic, morse, moscow, nancyj, nancyj-fancy, nancyj-underlined, nipples, ntgreek, o8, ogre, pawp, peaks, pebbles, pepper, poison, puffy, pyramid, rectangles, relief, relief2, rev, roman, rot13, rounded, rowancap, rozzo, runic, runyc, sblood, script, serifcap, shadow, short, slant, slide, slscript, small, smisome1, smkeyboard, smscript, smshadow, smslant, speed, stacey, stampatello, standard, starwars, stellar, stop, straight, tanja, tengwar, term, thick, thin, threepoint, ticks, ticksslant, tinker-toy, tombstone, trek, tsalagi, twopoint, univers, usaflag, wavy, weird, whimsy, wow.
figlet -f banner3-D "3D TEXT"
figlet -f cyberlarge "CYBER"
figlet -f doom "DOOM"
figlet -f epic "EPIC"
figlet -f speed "FAST"