| Crates.io | scoria |
| lib.rs | scoria |
| version | 0.1.0 |
| created_at | 2025-12-14 21:57:50.222431+00 |
| updated_at | 2025-12-14 21:57:50.222431+00 |
| description | Beautiful TUI components for building terminal interfaces π |
| homepage | https://molten.dev |
| repository | https://github.com/moltenlabs/scoria |
| max_upload_size | |
| id | 1985166 |
| size | 59,636 |
Beautiful TUI components for building terminal interfaces.
Scoria is volcanic rockβthe building blocks ejected from a forge. This crate provides the building blocks for terminal UIs: spinners, progress bars, text inputs, lists, tables, and more.
| Component | Description |
|---|---|
Spinner |
Animated loading indicators (8 styles) |
Progress |
Progress bars (4 styles) |
TextInput |
Text input with cursor navigation |
List |
Scrollable selection lists |
Table |
Data tables with alignment |
Tabs |
Tab navigation |
Viewport |
Scrollable content areas |
use scoria::{Spinner, SpinnerStyle, Progress};
// Spinner
let mut spinner = Spinner::new(SpinnerStyle::Dots).title("Loading...");
spinner.tick();
println!("{}", spinner.view());
// Progress bar
let bar = Progress::new()
.progress(0.6)
.width(40)
.show_percentage();
println!("{}", bar.view());
// ββββββββββββββββββββββββββββββββββββββββ 60%
cargo add scoria
Part of the Molten Labs open source ecosystem:
| Crate | Description |
|---|---|
| molten_brand | Design tokens & colors |
| glyphs | ANSI escape sequences |
| lacquer | Terminal styling |
| tuyere | TUI framework |
| scoria | TUI components (you are here) |
| chant | Shell glamour |
| aglow | Markdown renderer |
| censer | Pretty logging |
MIT OR Apache-2.0
Built with π by Molten Labs