713 B
713 B
Lucky Draw is a React + Vite single-page app that simulates a golden-ticket style raffle machine. It renders a slot-machine inspired interface that draws unique winners from a configurable pool, persists state to localStorage, and displays history/resets. The frontend is built with React 19 + hooks, TailwindCSS for styling, and Framer Motion for reel animation along with lucide-react icons. Source lives under src/ with App.jsx orchestrating the UI, reusable UI pieces in src/components/, business logic in src/hooks/ (e.g., useLuckyDraw), JSON config/assets under src/assets and public/ for static imagery. Build tooling is standard Vite + ESLint + Tailwind configuration files at the repo root.