Component packs › Aisle › Variant Picker

Variant Picker

Choose a glaze and it pours over the mug from the rim down, inside first, its edge running in drips.

Variant Picker is a colour picker from Aisle, a component pack with 6 product page components: Product page controls where the product itself changes with every choice. Price: $2 for the whole pack.

Built with: glaze pour, drip edge, glaze chips.

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.

Variant Picker props

PropTypeDefaultDescription
valuenumber0Glaze, 0 to 4 (0 follows the pack colour). Default 0.
onChange(index: number, name: string) => void
autoplaynumber | falseShowcase mode: picks another glaze every N ms while visible.

Methods on the ref

Use it in React

import VariantPicker from './VariantPicker';

<VariantPicker />

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

More in Aisle

Good for: Skeuomorphic UI.