A CLI tool to add rust-ui components to your Leptos project.
cargo install ui-cli --forceui starters # clone a starter project
ui init # set up an existing project
ui add # interactive component picker
ui add button card # add components directly
ui add button --dry-run # preview without installing
ui add button -y # skip overwrite prompt
ui list # browse all components
ui search <query> # search components by name
ui view <name> # view a component's source
ui diff # compare installed vs registry
ui update # check for outdated components
ui mcp # start the MCP server (for AI editors)
ui mcp init --client claude # write editor config for MCPRun ui mcp init --client <claude|cursor|vscode|opencode> once in your project.
Your editor will auto-connect and can then browse, search, and add components for you.
- Docs & components: rust-ui.com
- Changelog: CHANGELOG.md
MIT — see LICENSE.