A comprehensive, production-ready design system built with Tailwind CSS v4, Radix UI, and React. Features 59+ meticulously crafted components with consistent micro-interactions, semantic color systems, and full light/dark theme support.
- 59 Production-Ready Components - Buttons, forms, navigation, data display, overlays, and more
- Semantic Color System - Success, warning, info, and destructive variants with consistent tokens
- Full Theme Support - Light and dark modes with server-side rendering (no flash)
- Micro-interactions - Smooth animations and transitions (200ms triggers, 150ms menu items)
- Accessibility First - WCAG 2.1 AA compliant with proper ARIA attributes and keyboard navigation
- Performance Optimized - No backdrop blurs, optimized bundle size, efficient animations
- TypeScript Support - Full type safety with comprehensive interfaces
- Interactive Storyboard - Live component documentation with examples
- Node.js 18.x or higher
- pnpm (recommended) or npm
# Clone the repository
git clone https://github.com/karthik1729/tailwind-design-system.git
cd tailwind-design-system
# Install dependencies
pnpm install
# Start the development server
pnpm devVisit http://localhost:3000 to see the interactive storyboard.
- Button - 9 variants including semantic colors
- IconButton - Dedicated icon-only buttons with rotation effects
- Toggle & ToggleGroup - State toggles with smooth transitions
- DropdownMenuTrigger - Animated dropdown triggers
- ContextMenuTrigger - Right-click context menus
- CommandItem - Command palette items
- MenubarTrigger - Desktop-style menubar triggers
- Input - Text inputs with smooth focus states
- Textarea - Auto-resizing with character count
- Select - Custom styled dropdowns
- Checkbox - Smooth check animations
- RadioGroup - Radio button groups
- Switch - Toggle switches with animations
- Slider - Range sliders with hover effects
- InputOTP - One-time password inputs
- DatePicker - Calendar date selection
- FileUpload - Drag-and-drop file uploads
- Alert - Semantic alert messages
- Toast - Notification toasts with positioning
- Progress - Progress bars with animations
- Skeleton - Loading placeholders
- Dialog - Modal dialogs
- AlertDialog - Confirmation dialogs
- Sheet - Slide-out panels
- Drawer - Mobile-friendly drawers
- NavigationMenu - Multi-level navigation
- DropdownMenu - Dropdown menus
- ContextMenu - Context menus
- Menubar - Application menubars
- Command - Command palette
- Breadcrumb - Breadcrumb navigation
- Pagination - Page navigation
- Tabs - Tab interfaces
- Sidebar - Collapsible sidebars
- Card - Content cards with hover effects
- Accordion - Collapsible content sections
- Collapsible - Simple collapsible areas
- Table - Data tables with sorting
- Avatar - User avatars with fallbacks
- Badge - Status badges
- Chart - Data visualizations
- Carousel - Image/content carousels
- AspectRatio - Responsive media containers
- ScrollArea - Custom scrollbars
- Popover - Floating content panels
- HoverCard - Hover-triggered cards
- Tooltip - Helpful tooltips
- Separator - Visual separators
- Resizable - Resizable panels
- Calendar - Calendar widgets
- Timeline - Timeline displays
/* Semantic Colors */
--color-success: 142.1 76.2% 36.3%;
--color-warning: 37.7 92.1% 50.2%;
--color-info: 199 89% 48%;
--color-destructive: 0 84.2% 60.2%;
/* Theme Colors */
--color-primary: 221.2 83.2% 53.3%;
--color-background: 0 0% 100%;
--color-foreground: 222.2 84% 4.9%;
/* ... and more */- Triggers: 200ms transitions
- Menu Items: 150ms transitions
- Scale Effects: 0.98 on open, 0.97 on active
- Easing: ease-out for most animations
tailwind-design-system/
βββ design-system-app/ # Main application
β βββ app/ # Next.js app directory
β β βββ components/ # Component library
β β βββ storyboard/ # Interactive documentation
β β βββ globals.css # Tailwind v4 theme config
β βββ public/ # Static assets
βββ organized-components/ # Reference implementations
βββ todo/ # Project documentation
# Development
pnpm dev # Start development server
pnpm dev-bg # Start server in background
pnpm logs # View server logs
# Build
pnpm build # Build for production
pnpm start # Start production server
# Quality
pnpm lint # Run ESLint
pnpm typecheck # Run TypeScript checksThis project uses gotask for task management:
task dev-bg # Start dev server in background
task logs # View development logs
task stop # Stop all services
task restart # Restart development server- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'feat: Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Follow the existing code style and patterns
- Ensure all components work in both light and dark themes
- Maintain WCAG 2.1 AA accessibility standards
- Test across different browsers
- Update the storyboard with examples for new components
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with Tailwind CSS v4
- UI primitives from Radix UI
- Icons from Lucide
- Charts powered by Recharts
The design system features a clean, modern light theme with subtle shadows and clear hierarchy.
A carefully crafted dark theme with optimized contrast ratios and vibrant accent colors.
Comprehensive documentation with live examples for all 59 components.
Made with β€οΈ by Karthik