Description
Rattles is a small, dependency-free Rust library for terminal spinners, also called throbbers. It only produces animation frames and makes no assumptions about how you display them, so it fits into plain terminal output, TUI frameworks such as ratatui, or other contexts. You can use built-in presets grouped into arrows, ASCII, Braille and emoji categories, or define your own keyframes. The std feature is enabled by default; you can turn it off for no_std environments, where the global clock is unavailable and animations are driven instead by an external clock, by frame index, or by ticks with a stateful TickedRattler kept outside the render loop. A prelude module simplifies imports, and the repository includes a minimal ratatui example and a no_std example. Some spinners come from cli-spinners and unicode-animations. It is dual licensed under MIT or Apache-2.0.…
Highlights
- Dependency-free terminal spinners for Rust
- Arrows, ASCII, Braille and emoji presets
- Custom keyframes
- no_std support with time, index or tick driving
- ratatui example included
- MIT or Apache-2.0 license
Ratings & Reviews
No ratings yet
Be the first to rate Rattles.
People also visit
Rattles FAQ
What is Rattles?
A minimal, dependency-free library of terminal spinners and throbbers for Rust.
Does it work without std?
Yes. Disable the default std feature; animations can then be driven by an external clock, an index or ticks.
Which presets are included?
Presets in the arrows, ascii, braille and emoji categories.
What license is it under?
Dual licensed under MIT or Apache-2.0, at your choice.
What are the best Rattles alternatives?
Popular alternatives to Rattles include Ttfx, Ratzilla and Ranim. See all Rattles alternatives


