Minimal template for building shadcn registry with docs
- TypeScript - For type safety and improved developer experience
- Biome - Linting and formatting
- Husky - Git hooks for code quality
- Turborepo - Optimized monorepo build system
First, install the dependencies:
bun installThen, run the development server:
bun run dev- Initialize hooks:
bun run prepare - Format and lint fix:
bun run check
maqedui/
├── apps/
│ └── docs/ # Next.js + Fumadocs app with the registry UI
└── packages/
└── config/ # Shared TypeScript / tooling config
bun run dev: Start all applications in development modebun run build: Build all applicationsbun run check-types: Check TypeScript types across all appsbun run check: Run Biome formatting and linting
-
Change site name, description, links, and nav
- Edit
apps/docs/src/lib/config.tsto update the site name, description, URLs, social links, and top navigation items.
- Edit
-
Customize documentation content
- Docs live in
apps/docs/content/docsas MDX files (for example:index.mdx,components/*.mdx). - Adjust frontmatter and meta schemas in
apps/docs/source.config.tsif you need custom fields.
- Docs live in
-
Customize shadcn registry items
- Add or edit UI components under
apps/docs/src/registry/new-york-v4/ui. - Add or edit examples under
apps/docs/src/registry/new-york-v4/examples. - Control the exported registry (name, homepage, items) in
apps/docs/src/registry/index.tsandapps/docs/registry.json.
- Add or edit UI components under
-
Update URLs and deployment metadata
- Update the public site URL in
apps/docs/src/lib/config.ts(urlfield). - Update the registry homepage in
apps/docs/registry.jsonandapps/docs/src/registry/index.ts.
- Update the public site URL in