cano-ui
v0.1.14
Published
Add design-led, shadcn-compatible components to your project.
Maintainers
Readme
cano-ui
The CLI for cano — design-led, shadcn-compatible components, copied as source into your project.
npx cano-ui add data-table-proPrefer an interactive experience?
cano-cliis a full-screen terminal app — a guided welcome flow, framework detection, a searchable component picker, and live install progress. Install it withnpm i -g cano-cli, then runcano.
Commands
init
Sets up a project: writes components.json (the same schema shadcn uses), creates the cn() utility, adds design tokens to your global CSS, and installs base dependencies. Projects that already use shadcn/ui are detected and left untouched — add works immediately.
npx cano-ui init # interactive
npx cano-ui init -y # defaultsadd
Adds components and everything they need: other cano components, shadcn primitives (fetched from the official shadcn registry), and npm packages (installed with your detected package manager).
npx cano-ui add command-palette
npx cano-ui add app-shell stats-grid --yes
npx cano-ui add data-table-pro --dry-run # show the plan, write nothing
npx cano-ui add empty-state --overwrite # replace existing fileslist
npx cano-ui listdiff
Compare your local copies against the registry — useful after you've edited a component or when the registry version has moved on.
npx cano-ui diff data-table-proConfiguration
- Reads
components.jsonaliases and tsconfig path mappings, sosrc/layouts and custom directories work. --registry <url>orCANO_REGISTRY_URLpoints the CLI at a different registry (useful for self-hosting or local development).
License
MIT
