This is a registry of storybook stories for all the shadcn components. Build using the shadcn-registry-template and using the shadcn CLI to build the registry.
The shadcn CLI allows you to import any component or file as long as you point it to a registry JSON. This registry is a JSON file that contains all the information needed to build the registry.
npx shadcn@latest add <Registry URL>
You can visit the storybook registry and copy the URL to the registry JSON file or copy the command directly.
-
Clone the repository
-
Install the dependencies
bun install
-
Run the development server
bun dev
-
Add/update the stories in the
src/registry
directory -
Add/update the
registry.json
file -
Build the registry
bun registry:build
-
Run the local development server
bun dev
-
test the registry by running the shadcn CLI
npx shadcn@latest add http://localhost:3000/r/your-component.json
Visit the shadcn documentation to view the full documentation.