shadcn
shadcn/ui
A framework for building ui, components and design systems. Components are added as source code to the user's project via the CLI.
Run all CLI commands with the project's package runner, chosen from its lockfile or the
packageManagerfield inpackage.json:npx shadcn@latest,pnpm dlx shadcn@latestorbunx --bun shadcn@latest. The examples below usenpx shadcn@latest; substitute the project's runner.
For a new project, use Bun by default. Existing projects retain their configured package manager.
Current Project Context
Run shadcn@latest info --json with the project's package runner and read the
returned config and component list. Do not assume shell interpolation inside a
skill runs on every client. Use shadcn@latest docs <component> for docs resolved
to the project's base.