Skip to content
IndexDesign corpus
Motion & InteractionAnimation LibraryApache 2.0FreeTerminal UI

Rattles

Dependency-free terminal spinner library for Rust with presets and custom keyframes

Aboutgithub.com

Rattles is a minimal terminal spinner library for Rust. It has no dependencies and makes no assumptions about where the output goes. Presets cover common spinners, and a macro defines custom keyframes with a row count and an interval in milliseconds. The library also works without the standard library.

Install
cargo add rattles
For an agent

Use it for loading states in a Rust command-line tool. It only produces frames, so your code decides how and where to print them.

Why it is here. It brings loader design to terminal tools without extra dependencies.

Install command, framework, licence and component list.
Notable for
  • No dependencies
  • no_std support
  • Custom keyframe macro
Provenance

Verified 2026-10-09. HTTP 200. https://github.com/vyfor/rattles (HTTP 200, page fetched 2026-10-09), https://github.com/vyfor/rattles (GitHub API, 1006 stars), depo.zip listing https://www.depo.zip/tools/j57bayg49yka7mbky7nne3nnvs84mq5c

Related resourcesMotion & Interaction