Cinematic ANSI Banners for Rust

Published: (December 20, 2025 at 01:42 AM EST)
2 min read
Source: Dev.to

Source: Dev.to

What Makes tui-banner So Hardcore?

  • Zero Dependencies – No external crates, fonts, or Figlet files required. Your binary stays lean and mean.
  • Truecolor Support – Full 24‑bit and ANSI256 color support for silky‑smooth transitions.
  • Figlet Font Rendering – Built‑in classic Figlet engine supporting all standard Figlet fonts.
  • Preset Styles – 14 hand‑picked, cinematic color schemes ready to use with a single line of code:
    • Matrix (classic green‑and‑black cyber digital rain)
    • Neon Cyber (vibrant neon cyberpunk)
    • Aurora Flux (ethereal aurora‑like shimmer)
    • Deep Space (vast deep‑space nebula)
    • Ocean Flow (fluid motion of the ocean)
    • Sunset Neon (blazing neon sunset)
    • Fire Warning (intense fire alert)
    • Warm Luxury (elegant warm gold tones)
    • Forest Sky (serene forest canopy)
    • Earth Tone (natural earthy colors)
    • Chrome (sleek metallic)
    • Royal Purple (rich royal purple)
    • CRT Amber (classic CRT amber‑on‑black)
    • Arctic Tech (cool high‑tech arctic blue)
  • Highly Customizable – Gradients, palettes, fill characters, borders… total control over the look.
  • Blazing Fast – Renders instantly, so your launch screen appears in a flash.

How Simple Is the Code?

use tui_banner::{Banner, Style};

fn main() -> Result {
    println!();
    let banner = Banner::new("RUST CLI")?
        .style(Style::Matrix) // Select a style with one line
        .render();
    println!("{banner}");
    Ok(())
}

With just these few lines, your program’s launch will feel like a scene from The Matrix.

Customizing the Gradient and Font

let banner = Banner::new("WELCOME")
    .font("Big")            // Switch to a larger font
    .gradient(true)        // Enable the gradient
    .palette("cyberpunk")  // Use a custom palette
    .fill("•")              // Set a custom fill character
    .render();

Who Is This For?

  • Rust Developers – Give your command‑line tools a high‑end, professional launch screen.
  • TUI Project Authors – Add ceremony to ratatui or cursive projects.
  • Open Source Enthusiasts – Make your tool’s screenshots instantly eye‑catching on GitHub.
  • Terminal Aesthetes – For those who believe daily coding should be beautiful.

Official Website

tui-banner Official Website

Click the link for a visual feast: see all 14 styles rendered, with detailed usage, API documentation, and of course, it’s all free and open source.

One Last Thing…

If you’re still launching your programs with println!("Hello, world!");, you’re seriously missing out. It’s time for your CLI to be the main character of the terminal.

The Rust community has delivered another “make‑you‑scream‑with‑joy” tool. Go star it and light up your terminal! 🚀

Back to Blog

Related posts

Read more »