Bubbles
Pre-built TUI components for bubbletea: inputs, lists, tables, viewports, and more.
Role in the charmed_rust (FrankenTUI) stack
Bubbles sits directly above bubbletea and provides reusable components that
implement the Model trait. These components are styled using lipgloss and
are composed together by higher-level crates such as huh (forms) and glow
(Markdown reader). The demo showcase uses bubbles extensively to demonstrate
the full component catalog.
Crates.io package
Package name: charmed-bubbles
Library crate name: bubbles
Component catalog
textinputfor text entry.listfor selectable lists.tablefor tabular data.spinnerandprogressfor loading and progress.viewportfor scrollable content.filepickerfor filesystem navigation.paginator,timer, andstopwatchutilities.
Typical usage
use TextInput;
let mut input = new;
input.set_placeholder;
input.focus;
// In update():
// input.update(msg);
Where to look next
crates/bubbles/src/textinput.rscrates/bubbles/src/list.rs