A modern, interactive dark mode theme switcher application built with React, TypeScript, and Tailwind CSS. Features a beautiful UI with smooth animations, multiple theme presets, and a live preview section.
- Dark mode and light mode themes with smooth transitions
- Multiple color presets (Luna, Midnight, Ocean, and more)
- Smooth animations with Framer Motion
- Fully responsive and mobile-optimized design
- Live theme preview
- Built with Vite for blazing-fast development
- Professional UI components from Radix UI and shadcn
- Type-safe with TypeScript
- Frontend: React 19 + TypeScript
- Styling: Tailwind CSS 3.4 + CSS Animations
- UI Components: Radix UI + shadcn/ui (40+ components)
- Animations: Framer Motion 12.38
- Build Tool: Vite 7.2
- Forms: React Hook Form + Zod validation
- State Management: React Context API
- Icons: Lucide React
- Router: React Router v7
- Node.js 18+
- npm or yarn
npm installnpm run devThe app will be available at http://localhost:3000/ (or next available port)
npm run buildnpm run previewnpm run lintsrc/
├── components/ # Reusable UI components
│ ├── ui/ # shadcn/ui component library
│ ├── ColorSwatch.tsx
│ ├── FeatureCard.tsx
│ ├── Footer.tsx
│ ├── Navbar.tsx
│ ├── ThemeToggle.tsx
│ └── ...
├── sections/ # Page sections
│ ├── HeroSection.tsx
│ ├── FeaturesSection.tsx
│ ├── LivePreviewSection.tsx
│ ├── HowItWorksSection.tsx
│ └── ThemePresetsSection.tsx
├── hooks/ # Custom React hooks
│ ├── useTheme.tsx
│ └── useScrollPosition.ts
├── pages/ # Page components
│ └── Home.tsx
├── lib/ # Utility functions
│ └── utils.ts
├── App.tsx # Root component
├── App.css # App-specific styles
├── index.css # Global styles + theme variables
└── main.tsx # Entry point
The application features a comprehensive theme system with:
- Light Mode: Clean, bright interface (Luna theme)
- Dark Mode: Eye-friendly dark interface
- Multiple Presets: Midnight, Ocean, and more
- Persistent Storage: Theme preference saved to localStorage
- System Preference Detection: Auto-detects OS dark mode setting
- Smooth Transitions: All theme changes animate smoothly
- GitHub: @huncho-dev
Huncho.Dev - Modern web development
Created for modern web applications with attention to detail and performance.
MIT
Last Updated: April 2026