- Interactive spinning wheel with smooth animations
- Dark mode support
- Name list management with add/remove functionality
- Winner history with timestamps
- Confetti celebration effect
- Responsive design
- Local storage persistence
- Node.js (v14 or higher)
- npm or yarn
- Clone the repository:
git clone <repository-url>
cd wheel- Install dependencies:
npm install- Start the development server:
npm run dev- Open your browser and navigate to
http://localhost:5173
- Enter names in the text area (one per line or use Shift+Enter for multiple lines)
- Press Enter to add names to the wheel
- Click the "Spin" button to start the wheel
- The winner will be displayed and added to the history
- Toggle dark mode using the button in the top right
npm run buildThe built files will be in the dist directory.
- React
- TypeScript
- Vite
- Framer Motion
- React Confetti
MIT