1 unstable release

0.1.0 Aug 2, 2023

#944 in Command-line interface

Custom license

10KB
161 lines

tui-bars

CI crate.io Docs

Provides additional bar widgets for the great tui-rs crate.

Demo

use tui::{widgets::Block, layout::Direction};
use tui_bars::ValueBar;

let x = 1.234;

ValueBar::default()
    .direction(Direction::Vertical)
    .value(x)
    .label(format!("{x:.2}"))
    .range(5.)
    .block(Block::default().title("My Value X"));

Dependencies

~3–11MB
~110K SLoC