Component
Introduction
The starting point for your component library docs.
This template keeps component documentation close to installable source. Pages live in content/docs, examples live in registry/default, and registry output is generated from registry.json.
pnpm dev
Workflow
- Write MDX docs with component previews.
- Reference source with Vite raw imports.
- Describe public APIs with Markdown tables.
- Run
npm run registry:buildbefore publishing registry JSON.
import { ComponentTabs, ComponentPreview, ComponentSource } from "@/components/docs";