Component packs › Parcel › Swatch Redye
Pick a glaze and it washes over the product in a circle that spreads from where you clicked, with a wet edge, while the shading stays put.
Swatch Redye is a colour picker from Parcel, a component pack with 8 components: E-commerce components where every product turns, packs and travels. Price: $2 for the whole pack.
Built with: radial wash, radio group, click to dye.
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 |
|---|---|---|---|
name | string | ||
price | number | ||
currency | string | ||
colours | RedyeColour[] | ||
profile | 'bottle' | 'jar' | 'cup' | ||
onChange | (colour: RedyeColour) => void | ||
theme | 'dark' | 'light' | ||
autoplay | boolean | Showcase mode: re-dyes from different points until touched. |
readonly colour: RedyeColourset(index: number): voiddestroy(): voidimport SwatchRedye from './SwatchRedye';
<SwatchRedye />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: E-commerce UI components.