ui init— interactive base color picker (Neutral / Stone / Zinc / Mauve / Olive / Mist / Taupe) and accent color picker (Default / Amber / Blue / … / Yellow); selections are saved toui_config.tomland the generatedtailwind.cssuses the exact OKLCH values;--yes/--forceskips prompts and uses defaultsui add— deprecated component warnings: warns and exits when a deprecated component is requested, pointing to the replacement (e.g.toast→ usesonner)ui init --yes/-yand--force/-f— skip confirmation prompts and force overwrite existing files without promptingui init --reinstall— re-download and overwrite all already-installed components after init; prompts automatically when existing components are detected on a re-runui init— backup/restore on failure:ui_config.tomlis backed up before writing and automatically restored if the init process fails (RAIIFileBackupguard)
- MCP server now correctly advertises the
toolscapability in the initialize response, so Claude Code and other clients properly discover and register tools on session start
ui mcp— starts a stdio MCP server exposing rust-ui registry tools to AI editors (Claude Code, Cursor, VS Code, OpenCode)ui mcp init --client <claude|cursor|vscode|opencode>— writes the editor config file so your AI editor auto-connects to the MCP server on startup- MCP tools available:
list_components,search_components,view_component,get_add_command,get_audit_checklist ui view <name>— prints a component's source from the registry without installing it; supports--jsonui add --path <dir>— override the output directory for components, bypassingbase_path_componentsfromui_config.tomlui diff— shows a line-by-line diff of installed components vs the registry; supports a single component (ui diff button) or all installed components at once; supports--jsonfor machine-readable output
ui update— checks all installed components against the registry; reportsup to date,outdated, ornot in registryper component; suggests the exactui add <name> -ycommand to fix each; supports--jsonui search <query>— filters the registry by name (case-insensitive); supports--jsonfor scripted outputui list --json— machine-readable JSON output forui list({ total, categories: { ... } })ui list— lists all available components from the registry grouped by category (grep-friendly, one component per line)ui info --json— machine-readable JSON output forui info, useful for scripting and AI toolingui docs— openshttps://rust-ui.comin the system default browser (cross-platform:open/xdg-open/start)ui add --dry-run/-n— resolves all dependencies and previews which files would be written, overwritten, or skipped without touching the filesystem; output is sorted for determinism
ui info— prints project config (ui_config.toml), base color, base path, workspace detection, and all installed components with countui add --yes/-y— skips the overwrite prompt and forces all files to be written- Overwrite prompt on
add— when a component file already exists, the user is asked before overwriting (requires a TTY; bypassed with--yes) - Explicit summary after
add:✅ Added:— newly written files⏭ Skipped:— existing files the user chose not to overwrite📦 Dep already installed:— auto-resolved dependency components already on disk (no silent skips)
- Auto-resolved dependency components that are already installed no longer trigger the overwrite prompt; they are reported separately in the summary
ui addreads tailwind input file path from[package.metadata.leptos]inCargo.toml- Workspace-aware Cargo dep injection: detects workspace root and uses
[workspace.dependencies]when available
- Removed deprecated starter templates
- Upgraded ratatui to 0.30
- JS file dependency support in
add: downloads JS files topublic/alongside Rust components
- Interactive TUI picker (ratatui) with tabs: Components, Hooks, Blocks, Icons, Demos, Settings
- Installed components highlighted in TUI list
- Dependency detail panel in TUI
- Footer keyboard shortcuts (
Ctrl+letterto jump between tabs) - Unit tests for TUI logic
ui starters— choose and clone starter templates (Tauri, Tauri Fullstack)- Registry-based component fetching (
addreads from remote registry) - Automatic
mod.rsregistration onadd - Automatic
pub mod componentsregistration inlib.rs/main.rs - Cargo dependency injection on
add
- Initial
ui initcommand: scaffoldsui_config.toml, installs Tailwind CSS config, wires Leptos dependencies - Initial
ui add <components>command: fetches components from registry by name with dependency resolution - Workspace detection and multi-crate support