Docs

CLI

Add components from the terminal with npx caveui.

Every component detail page shows an install command. The CLI copies the component's source into your project so you own and can edit it.

Add a component

bash
npx caveui@latest add button-gradient

Works with your package manager

  • npm — npx caveui@latest add <id>
  • pnpm — pnpm dlx caveui@latest add <id>
  • yarn — yarn dlx caveui@latest add <id>
  • bun — bunx --bun caveui@latest add <id>

The package-manager switcher on each component page generates the right command for you — and remembers your preference.