Expand description
Colorful ASCII art banner rendering for Rust CLI/TUI.
§Quick Start
use tui_banner::{Align, Banner, Style};
let banner = Banner::new("RUST CLI")?
.style(Style::NeonCyber)
.align(Align::Center)
.padding(1)
.render();
let _ = banner;Re-exports§
pub use banner::Banner;pub use banner::BannerError;pub use color::Color;pub use color::ColorMode;pub use color::Palette;pub use color::Preset;pub use effects::light_sweep::LightSweep;pub use effects::light_sweep::SweepDirection;pub use effects::outline::EdgeShade;pub use fill::Dither;pub use fill::DitherMode;pub use fill::Fill;pub use font::Font;pub use font::figlet::FigletError;pub use frame::Frame;pub use frame::FrameChars;pub use frame::FramePaint;pub use frame::FrameStyle;pub use gradient::Gradient;pub use gradient::GradientDirection;pub use grid::Align;pub use grid::Padding;pub use style::Style;
Modules§
- banner
- High-level banner builder API.
- color
- Color types and palettes.
- effects
- Visual effects (dither, outline, shadow).
- emit
- ANSI output emitter.
- fill
- Fill and dither configuration.
- font
- Fonts and glyph rendering.
- frame
- Frame (border) rendering.
- gradient
- Gradient definitions.
- grid
- Grid and layout types.
- style
- Named banner styles.
- terminal
- Terminal capability detection.