StealThis .dev

Cocktail Builder

Interactive cocktail builder: pick a spirit base, choose mixers from a visual grid, add garnish — get the cocktail name, recipe steps, flavor profile radar, and a price estimate.

Open in Lab
html css vanilla-js
Targets: JS HTML

Code

Cocktail Builder

Three-step builder: (1) Spirit base selector (cards: Gin / Rum / Tequila / Vodka / Whiskey / Mezcal); (2) Mixer grid (multi-select: citrus, soda, vermouth, tonic, syrup, bitters, juice variants); (3) Garnish picker (lime wheel, orange twist, cherry, mint, salt rim, none). Right panel shows: the generated cocktail name, SVG glass illustration, flavor profile radar (sweet/sour/bitter/strong/fresh as polygon chart), recipe steps, and price. Selecting different combos generates different named cocktails.