Component packs › Layers › Gelato Cone Builder

Gelato Cone Builder

Real scoops balance a little off-centre on the cone; take one from the middle and the rest drop into place.

Gelato Cone Builder is a configurator from Layers, a component pack with 6 components: Product builders where what you choose stacks up for real. Price: $5 for the whole pack.

Built with: scoop physics, cone or cup, cherry on top.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Gelato Cone Builder props

PropTypeDefaultDescription
darkboolean
autoplayboolean
currencystring
photosRecord<string
onAdd(scoops: string[], price: number) => void

Methods on the ref

Use it in React

import ConeBuilder from './ConeBuilder';

<ConeBuilder />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Layers

Good for: Product configurators.