tui-big-text

Crates.io License Docs.rs Dependency Status Codecov Discord

tui-big-text is a rust crate that renders large pixel text as a ratatui widget using the glyphs from the font8x8 crate.

Installation

shell cargo add ratatui tui-big-text

Example

rust fn render<B: Backend>(frame: &mut Frame<B>) -> Result<()> { let big_text = BigTextBuilder::default() .style(Style::new().blue()) .lines(vec![ "Hello".red().into(), "World".white().into(), "~~~~~".into(), ]) .build()?; frame.render_widget(big_text, frame.size()); Ok(()) }

Example Made with VHS