Crate tui_widgets

Crate tui_widgets 

Source
Expand description

A collection of useful widgets for building terminal user interfaces using Ratatui.

This is a crate that combines multiple previously standalone crates into one in order simplify maintenance and to make it easier to use the widgets together.

Workspace crates:

The widget crates are also available as standalone crates.

§Screenshots

§tui-bar-graph

Braille Rainbow

§tui-big-text

Demo

§tui-box-text

Demo

§tui-cards

Demo

§tui-popup

Demo

§tui-prompts

Text Prompt

§tui-qrcode

Demo

§tui-scrollview

Demo

§features

  • default — By default, all the widgets are enabled.
  • bar-graph (enabled by default) — Enables the bar_graph widget
  • big-text (enabled by default) — Enables the big_text widget
  • box-text (enabled by default) — Enables the box_text widget
  • cards (enabled by default) — Enables the cards widget
  • popup (enabled by default) — Enables the popup widget
  • prompts (enabled by default) — Enables the prompts widget
  • qrcode (enabled by default) — Enables the qrcode widget
  • scrollview (enabled by default) — Enables the scrollview widget

Modules§

bar_graph
A Ratatui widget to render bold, colorful bar graphs. Part of the tui-widgets suite by Joshka.
big_text
A Ratatui widget to render gloriously oversized pixel text using glyphs from the font8x8 crate. Part of the tui-widgets suite by Joshka.
box_text
A [Ratatui] widget to draw delightfully boxy text with line-drawing characters. Part of the tui-widgets suite by Joshka.
cards
A [Ratatui] widget to render charming playing cards in the terminal. Part of the tui-widgets suite by Joshka.
popup
A [Ratatui] widget to show a snappy popup overlay. Part of the tui-widgets suite by Joshka.
prompts
A Ratatui widget set for friendly prompts and input flows. Part of the tui-widgets suite by Joshka.
qrcode
A Ratatui widget to render crisp, scan-happy QR codes in the terminal. Part of the tui-widgets suite by Joshka.
scrollview
A Ratatui widget to build smooth scrollable views. Part of the tui-widgets suite by Joshka.