Docs
CLI
The @swift-rust/ui CLI scaffolds the cn() helper and copies component source into your project.
init
Adds lib/utils.ts (the cn() helper) and its dependencies. Run once per project.
bunx @swift-rust/ui initadd
Copy one or more components into your project.
bunx @swift-rust/ui add button card input
bunx @swift-rust/ui add --all # everything
bunx @swift-rust/ui add dialog --overwritePaths are detected from your project: a src/ layout writes to src/components/ui, otherwise components/ui.
list
Browse everything available in the registry.
bunx @swift-rust/ui list