An interactive pizza builder built with React, TypeScript, and Next.js, allowing users to customize individual pizza slices using drag-and-drop toppings, real-time pricing, and realistic SVG-based visuals.
- π§© Per-Slice Customization β Add unique toppings to each slice
- πΈ Real-Time Pricing β Dynamic total updates based on toppings
- π±οΈ Drag & Drop Interface β Move toppings naturally across slices
- π± Responsive Design β Works beautifully on tablets and mobile
- π½οΈ Fair Cost Splitting β Ideal for shared orders with friends
- π§ Math + UI Precision β Geometry-based slice detection and placement
| Category | Technology |
|---|---|
| Frontend Framework | React + TypeScript |
| Routing / SSR | Next.js App Router |
| Styling | Tailwind CSS v4 |
| Graphics & Interactivity | SVG + HTML5 Drag & Drop |
| State Management | React Hooks / Context |
| Pricing Logic | Dynamic per-topping-per-slice algorithm |
- Custom SVG renderings for toppings (cheese, pepperoni, veggies, etc.)
- Smooth drag-and-drop and click-to-place topping interactions
- Touch-friendly and responsive layout for tablets
- Minimal, restaurant-ready interface designed for real-world usability
- Geometric Slice Detection β Calculates slice boundaries and angles
- Coordinate Mapping β Places toppings with precision
- Collision Detection β Ensures toppings stay within slice limits
- Dynamic Order Summary β Aggregates slice toppings and costs
π Encourages portion control and reduces food waste
π₯ Promotes healthier, personalized eating choices
π‘ Enhances group dining experiences
πͺ Helps restaurants digitize and upsell through customization
# Clone repository
git clone https://github.com/yourusername/pizza-slice-customizer.git
# Enter folder
cd pizza-slice-customizer
# Install dependencies
npm install
# Run development server
npm run dev
Visit http://localhost:3000 to start customizing your pizza!
π§© Project Timeline
π
Jun 2025 β Jul 2025
Designed and developed as an exploration in frontend geometry, interactivity, and user experience engineering.
π¬ Feedback
Would you like to see apps like this in restaurants?
Open an issue or drop your suggestions β Iβd love to hear from you!
πͺ Credits
Built by [Hassan Ali]
React + Next.js + Tailwind CSS + SVG Magic