A template for building your own design system using React, TypeScript, and Tailwind CSS, built on top of shadcn/ui.
This project provides a starting point for creating your own design system. It leverages the power of shadcn/ui, which is not a traditional component library, but rather a collection of re-usable components that you can copy and paste into your apps.
- Ownership: You own the code. No more dependencies on component libraries.
- Flexibility: Copy, paste, and modify components to match your needs.
- Accessibility: Built with Radix UI primitives, ensuring accessibility.
- Styling: Uses Tailwind CSS for easy customization.
- Dark Mode: Includes dark mode support out of the box.
- 🚀 React + TypeScript + Vite
- 🎨 Tailwind CSS configuration
- 🌙 Dark mode support
- 📦 Example Button component
- 🔧 Ready-to-use development environment
- 🎯 Proper TypeScript configuration
- 📱 Responsive design ready
- Node.js 16.8 or later
- npm or yarn
You can start using this template in one of two ways:
# Create a new project
npx degit talkaboutdesign/Design-System-Blueprint my-design-system
# Navigate to the project
cd my-design-system
# Install dependencies
npm install
# Start the development server
npm run dev
- Click the "Use this template" button above
- Clone your new repository
- Install dependencies:
npm install
- Start the development server:
npm run dev
src/
├── components/
│ ├── ui/ # Your UI components
│ │ └── button/ # Example button component
│ ├── theme-provider.tsx
│ └── theme-toggle.tsx
├── lib/
│ └── utils.ts # Utility functions
└── styles/ # Global styles and Tailwind configuration
- Visit shadcn/ui
- Choose a component you want to add
- Create a new directory in
src/components/ui
- Copy the component implementation
- Customize as needed
- Modify
tailwind.config.js
to customize your design tokens - Update global styles in
src/index.css
- Customize components by editing their source code directly
Contributions are welcome! Please feel free to submit a Pull Request.
MIT