Component packs › Livery › Page Wipe
Tap a swatch and the whole page re-colours in a circle that opens from that swatch.
Page Wipe is a re-colour swatches 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: circular re-colour wipe, readable text on any accent, keyboard swatches.
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 |
|---|---|---|---|
colors | { name: string; hex: string }[] | ||
dark | boolean | ||
autoplay | boolean | ||
onPick | (c: { name: string; hex: string }) => void |
pick(i: number): voiddestroy(): voidimport PageWipe from './PageWipe';
<PageWipe />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Theme and dark mode.