CLI
Add components to your project with cargo.
cargo-hyuskui is a cargo subcommand. Once installed, run it as cargo hyuskui from anywhere inside your project. The components are bundled into the binary, so it works offline.
$ cargo install --git https://github.com/hyuskui/ui cargo-hyuskui
Commands
| cargo hyuskui init | Writes src/theme.rs, creates src/ui/mod.rs, and declares both modules in main.rs or lib.rs. |
| cargo hyuskui add <component...> | Copies components into src/ui/ and registers them in mod.rs. Runs init first if needed. --all adds everything; --overwrite replaces existing files. |
| cargo hyuskui diff <component> | Shows how your copy differs from the latest registry version. |
| cargo hyuskui list | Lists every component in the registry. |
Registry
The CLI ships the same components this site shows. This site also publishes them as JSON at /r/<name>.json, with the full list at /r/index.json.