ui-cli 0.3.10

A CLI to add components to your app.
Documentation

UI CLI

A CLI tool to add rust-ui components to your Leptos project.

Installation

cargo install ui-cli --force

Commands

ui 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 MCP

MCP (AI Editor Integration)

Run 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.

Links

License

MIT — see LICENSE.