A curated collection of reusable UI components built with React, TypeScript, and Tailwind CSS. Install components directly into your project with the shadcn CLI.
Add any component to your project using the shadcn CLI:
npx shadcn@latest add https://ui.fredrika.dev/r/<name>.jsonCheck registry.json for the complete list of available components.
pnpm install
pnpm devThe site will be available at http://localhost:3000.
.
├── registry/
│ ├── ui/ # Source components shipped to consumers
│ └── blocks/ # Example implementations and demos
├── content/
│ └── docs/ # MDX documentation files
├── components/ # Documentation site UI components
├── app/ # Next.js App Router pages
└── public/
└── r/ # Generated registry JSON payloads (build artifacts)
- Create your component in
registry/ui/ - Add an entry to
registry.jsonwith metadata and dependencies - Add documentation in
content/docs/ - Build the registry to generate JSON payloads
The generated payloads in public/r/ are automatically included in your deployment, allowing consumers to install components via the shadcn CLI.
# Run tests
pnpm test
# Run tests in watch mode
pnpm test:watch