Component packs › Livery › Palette Builder
Drag the dividers of a 60-30-10 bar or spin the base hue; harmony rules fill in the other two and the page repaints in a wipe.
Palette Builder is a 60-30-10 palette from Livery, a component pack with 8 components: Theme switcher components where every change repaints the page, not just the control. Price: $2 for the whole pack.
Built with: 60-30-10 proportion bar, harmony rules, live page wipe.
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 |
|---|---|---|---|
hue | number | Starting base hue, 0–360. | |
harmony | 'analogous' | 'complementary' | 'triad' | 'split' | ||
dark | boolean | ||
autoplay | boolean | ||
onChange | (p: { c60: string; c30: string; c10: string; harmony: string }) => void |
set(hue: number, harmony?: PaletteBuilderOptions['harmony']): voiddestroy(): voidimport PaletteBuilder from './PaletteBuilder';
<PaletteBuilder />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Theme and dark mode.