π Revue
A Vue-style TUI framework for Rust with CSS styling
Build beautiful terminal UIs with the power of Rust and the elegance of CSS.
Getting Started Β· Examples Β· Documentation Β· Contributing
β¨ Highlights
π¨ CSS Styling
Write styles in familiar CSS syntax with variables, selectors, transitions, and animations.
β‘ Reactive State
Vue-inspired Signal/Computed/Effect system for automatic UI updates.
π¦ 70+ Widgets
Rich widget library: inputs, tables, charts, markdown, images, and more.
π₯ Hot Reload
See CSS changes instantly without restarting your app.
π οΈ Developer Tools
Widget inspector, snapshot testing, and performance profiler built-in.
π Fast & Lightweight
Pure Rust, single binary, blazing fast performance.
π Comparison
| Feature | Ratatui | Cursive | Textual | Revue |
|---|---|---|---|---|
| Language | Rust | Rust | Python | Rust |
| Styling | Code | Theme | CSS | CSS |
| Reactivity | Manual | Event | Reactive | Signal |
| Hot Reload | β | β | β | β |
| Devtools | β | β | β | β |
| Binary | Single | Single | Python env | Single |
π Quick Start
Add Revue to your project:
Create your first app:
use *;
Style with CSS:
/* styles.css */
}
}
}
π¦ Widgets
vstack.gap.child;
hstack.justify_content;
grid.cols.gap;
tabs.tab.tab;
input.placeholder;
textarea.rows;
select.options;
checkbox;
switch.on_change;
text.bold.fg;
markdown;
table.columns.rows;
progress.label;
image_from_file;
modal.title.content;
toast.level;
tooltip.child;
barchart.data;
line_chart.series;
sparkline;
π― Examples
π Documentation
| Resource | Description |
|---|---|
| π API Docs | Full API reference |
| ποΈ Architecture | System design |
| π¨ CSS Reference | Supported CSS properties |
| π§© Widgets | Widget catalog |
πΊοΈ Roadmap
| Version | Theme | Status |
|---|---|---|
| v0.1.0 | Foundation | β Released |
| v0.2.0 | Polish | β Released |
| v0.3.0 | Plugin System | β Released |
| v0.4.0 | Async & A11y | β Released |
| v0.5.0 | DX & Testing | β Released |
| v0.6.0 | Advanced UI | β Released |
| v0.7.0 | Ecosystem | β Released |
| v0.8.0 | Stability | β Released |
| v0.9.0 | Documentation | β Released |
| v1.0.0 | Production Ready | π Current |
π€ Contributing
Contributions are welcome! See our Contributing Guide for details.
# Clone and setup
# Install git hooks (recommended)
&&
# Build and test
# Run an example
π‘ Inspired By
π License
MIT License - see LICENSE for details.
Made with β€οΈ by the Revue contributors