Skip to content

shadcn-labs/startercn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

startercn banner

startercn

A template for building and publishing your own custom shadcn registry components. Includes documentation, landing page, and everything you need to deploy your component registry.

GitHub Stars CI Discord Members X Follow

Features

  • 📦 Ready-to-use template - Fork and start building immediately
  • 📚 Documentation site - Beautiful docs powered by Fumadocs
  • 🎨 Shadcn registry compatible - Works with npx shadcn add
  • 🤖 Agent ready - Includes llms.txt, llms-full.txt, agent skills discovery routes, and API catalog endpoints
  • 🔊 Web audio feedback - Built-in sound effects powered by @web-kits/audio
  • 📳 Web haptics - Optional haptic feedback hooks for supported devices via web-haptics
  • Motion animations - motion-powered UI polish for copy states, text transitions, and interactive elements
  • 🎯 Animated icons - Reusable animated icons for navigation, sharing, sponsorship, and CTAs
  • 🔄 View transitions - Next.js view transitions enabled for smoother navigation between pages
  • 🚀 Deploy ready - Deploy anywhere

Built In

  • Next.js 16 with the App Router
  • React 19 and TypeScript
  • Tailwind CSS 4
  • Fumadocs for documentation
  • shiki + rehype-pretty-code for code blocks
  • sonner for toasts
  • radix-ui + vaul for accessible primitives
  • @vercel/analytics for analytics

Quick Start

  1. Use this template - Click "Use this template" on GitHub

  2. Install dependencies:

pnpm install
  1. Replace the placeholder component at registry/new-york/your-component.tsx

  2. Update registry.json with your component details

  3. Build the registry:

pnpm registry:build
  1. Start development:
pnpm dev
  1. Deploy and share your component!

Usage

Once deployed, users can install your component with:

npx shadcn@latest add https://your-domain.com/r/your-component.json

Project Structure

├── registry/
│   └── new-york/           # Your components go here
│       └── your-component.tsx
├── registry.json           # Component registry manifest
├── content/docs/           # Documentation (MDX)
├── app/                    # Next.js app
└── public/r/               # Built registry files (auto-generated)

Scripts

  • pnpm dev - Start development server
  • pnpm build - Build for production
  • pnpm registry:build - Rebuild the component registry

License

MIT

About

A shadcn/ui registry template with built-in landing page, docs, AI agent ready, and baked-in web haptics, audio, and animations.

Topics

Resources

Stars

Watchers

Forks

Releases

Sponsor this project

Packages

Contributors

Languages