The Wheel of Names is a fun and interactive web application that allows users to input names and spin a wheel to randomly select a winner. It is built using React and Chakra UI for a modern and responsive design.
- Add Names: Users can input names to be added to the wheel.
- Shuffle Names: Randomize the order of names on the wheel.
- Sort Names: Sort names alphabetically.
- Clear Names: Remove all names from the wheel.
- Spin the Wheel: Spin the wheel to randomly select a winner.
- Winner Announcement: Display the winner in a dialog with options to remove the winner from the wheel.
- React: For building the user interface.
- Chakra UI: For styling and responsive design.
- Vite: For fast development and build setup.
- Clone the repository:
git clone <repository-url>
- Navigate to the project directory:
cd wheel-of-names - Install dependencies:
pnpm install
- Start the development server:
pnpm dev
- Open the application in your browser.
- Add names to the wheel using the input field.
- Use the buttons to shuffle, sort, or clear names.
- Spin the wheel to select a random winner.
- View the winner announcement and optionally remove the winner from the wheel.
The Wheel of Names can be used to randomly select a host for daily standup meetings, ensuring fairness and adding a fun element to the process.
wheel-of-names/
├── public/
│ ├── sounds/
│ │ ├── spin.wav
│ │ ├── win.wav
├── src/
│ ├── App.tsx
│ ├── NameEntries.tsx
│ ├── Wheel.tsx
│ ├── fireworks.css
├── index.html
├── package.json
├── pnpm-lock.yaml
├── tsconfig.json
├── vite.config.ts
This project is licensed under the MIT License.
- Chakra UI for the design components.
- Vite for the development setup.
- React for the framework.
Feel free to submit issues or pull requests to improve the project!