A comprehensive shadcn/ui registry containing 1,105 production-ready patterns from Kibo UI. This is a custom component registry that works seamlessly with the shadcn CLI.
This registry contains all patterns from Kibo UI organized into 53 component categories:
- π¨ Forms & Input - 150+ patterns
- π§ Navigation - 80+ patterns
- π Charts - 70+ patterns
- π¬ Feedback - 90+ patterns
- π Overlays - 120+ patterns
- π Data Display - 200+ patterns
- π Interactive - 180+ patterns
- π Layout - 60+ patterns
- π οΈ Utilities - 155+ patterns
# Clone the repository
git clone https://github.com/ailabs-393/Patterns-Registry.git
cd Patterns-Registry
# Install dependencies
pnpm install
# Build the registry
pnpm registry:build
# Start the development server
pnpm devThe registry will be available at http://localhost:3000
Create or update .mcp.json in your project root:
{
"mcpServers": {
"shadcn": {
"command": "npx",
"args": [
"shadcn@latest",
"mcp"
]
}
}
}{
"registries": {
"@my-patterns": {
"url": "http://localhost:3000/r/{name}.json"
}
}
}Note: You can name the registry anything (e.g., @my-patterns, @kibo-patterns). Just make sure the URL points to http://localhost:3000/r/{name}.json while running locally.
# Install a button pattern
npx shadcn@latest add @my-patterns/pattern-button-destructive-1
# Install a form pattern
npx shadcn@latest add @my-patterns/pattern-form-validation-1
# Install a chart pattern
npx shadcn@latest add @my-patterns/pattern-chart-bar-defaultIf you have the shadcn MCP configured, you can search patterns directly:
# Search for button patterns
mcp__shadcn__search_items_in_registries --registries @my-patterns --query button
# Search for form patterns
mcp__shadcn__search_items_in_registries --registries @my-patterns --query formCheck out the PATTERNS_GUIDE.md for:
- Complete list of all 53 component categories
- Pattern variations within each category
- Usage examples and workflows
- Quick reference by use case
View all 53 categories
- accordion
- alert
- alert-dialog
- aspect-ratio
- avatar
- badge
- breadcrumb
- button
- button-group
- calendar
- card
- carousel
- chart
- checkbox
- collapsible
- combobox
- command
- context-menu
- data-table
- date-picker
- dialog
- drawer
- dropdown-menu
- empty
- field
- form
- hover-card
- input
- input-group
- input-otp
- item
- kbd
- label
- menubar
- navigation-menu
- pagination
- popover
- progress
- radio-group
- scroll-area
- separator
- sheet
- skeleton
- slider
- sonner
- spinner
- switch
- table
- tabs
- textarea
- toggle
- toggle-group
- tooltip
- Node.js 18+ or 20+
- pnpm (recommended) or npm
- A Next.js project with shadcn/ui initialized
This registry works with shadcn's MCP (Model Context Protocol) server:
- Local Server: The registry runs on
http://localhost:3000and serves pattern JSON files - components.json: Your project's
components.jsonpoints to the local registry - MCP Integration: The shadcn MCP server reads your
components.jsonand enables searching/installing patterns - Pattern Installation: Use
npx shadcn@latest addto install patterns from the registry
If you want to host this registry online instead of running it locally:
- Import this repo to Vercel
- Deploy (automatic)
- Update your
components.jsonwith the Vercel URL:
{
"registries": {
"@my-patterns": {
"url": "https://your-app.vercel.app/r/{name}.json"
}
}
}# Install a complete form setup
npx shadcn@latest add \
@my-patterns/pattern-form-basic-forms-1 \
@my-patterns/pattern-field-basic-inputs-1 \
@my-patterns/pattern-button-standard-1Check PATTERNS_GUIDE.md for a complete list of all 53 categories and 1,105 patterns
- Standard buttons (7 variants)
- Destructive buttons (7 variants)
- Link buttons (7 variants)
- Outline buttons (7 variants)
- Secondary buttons (7 variants)
- Button groups (39 variants)
- Basic forms
- Advanced forms with validation
- Multi-field forms
- Form layouts
- Form patterns
- Area charts (10 variants)
- Bar charts (10 variants)
- Line charts (10 variants)
- Pie charts (11 variants)
- Radar charts (14 variants)
- Radial charts (6 variants)
- Tooltips (9 variants)
This registry contains patterns from Kibo UI, which is open source and free forever.
MIT License - see the LICENSE file for details
- Patterns Source: Kibo UI by Hayden Bleasel
- Registry Template: shadcn/ui registry-template
- UI Framework: shadcn/ui
- π Documentation
- π Report Issues
- π¬ Discussions
Made with β€οΈ for the shadcn/ui community