#terminal #console #ratatui #tui

tui-box-text

A Ratatui widget for displaying text using the box drawing characters

8 releases

0.3.1 Dec 27, 2025
0.3.0 Dec 27, 2025
0.3.0-alpha.0 Mar 2, 2025
0.2.2 Nov 2, 2025
0.1.1 Oct 17, 2024

#69 in #console

Download history 23/week @ 2025-10-31 74/week @ 2025-11-07 79/week @ 2025-11-14 73/week @ 2025-11-21 77/week @ 2025-11-28 74/week @ 2025-12-05 356/week @ 2025-12-12 102/week @ 2025-12-19 262/week @ 2025-12-26 541/week @ 2026-01-02 1148/week @ 2026-01-09 1547/week @ 2026-01-16 1060/week @ 2026-01-23 268/week @ 2026-01-30 379/week @ 2026-02-06

3,349 downloads per month
Used in tui-widgets

MIT/Apache

18KB
246 lines

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.

Dependencies

~11MB
~186K SLoC