Component packs › Aisle › 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.
| Prop | Type | Default | Description |
|---|---|---|---|
value | number | 0 | Glaze, 0 to 4 (0 follows the pack colour). Default 0. |
onChange | (index: number, name: string) => void | ||
autoplay | number | false | Showcase mode: picks another glaze every N ms while visible. |
readonly value: numbersetValue(index: number, silent?: boolean): voiddestroy(): voidimport VariantPicker from './VariantPicker';
<VariantPicker />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Skeuomorphic UI.