Cliux — styled terminal output made simple
⚓ Rust 📅 2025-10-31 👤 surdeus 👁️ 6cliux is a lightweight Rust crate for styling terminal output — no TUI required. It’s a toolkit for making CLI output look clean, expressive, and readable using structured components.
I built cliux because the output in one of my Rust projects felt flat and hard to scan. So I created a crate that adds layout and clarity without needing a full TUI framework.
Features
Boxed— bordered containers with titles and contentSection— titled blocks with horizontal dividersDivider— customizable horizontal lines.wrap()— wraps long text to fit the width.pad()— emoji-aware padding for alignment
Example
use cliux::Boxed;
fn main() {
Boxed::new("Cliux Boxed")
.content("This code uses the cliux library to create a boxed section.")
.width(61)
.print();
}
Output:

Links
Any feedback, ideas, or contributions are welcome!
2 posts - 1 participant
🏷️ Rust_feed