tui-box-text

Crates.iotui-box-text
lib.rstui-box-text
version0.3.1
created_at2024-10-17 10:50:13.889862+00
updated_at2025-12-27 07:15:48.005686+00
descriptionA Ratatui widget for displaying text using the box drawing characters
homepage
repositoryhttps://github.com/joshka/tui-widgets
max_upload_size
id1412946
size62,535
Josh McKinney (joshka)

documentation

README

tui-box-text

A [Ratatui] widget to draw delightfully boxy text with line-drawing characters. Part of the tui-widgets suite by Joshka.

Demo

Crate badge Docs Badge Deps Badge License Badge Coverage Badge Discord Badge

GitHub Repository · API Docs · Examples · Changelog · Contributing

Usage

Create a BoxChar and render it into a region of your frame.

use tui_box_text::BoxChar;

let letter = BoxChar::new('A');
frame.render_widget(&letter, frame.area());

More widgets

For the full suite of widgets, see tui-widgets.

License

Copyright (c) Josh McKinney

This project is licensed under either of:

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

See CONTRIBUTING.md.

Commit count: 383

cargo fmt