Component packs › Livery › Page Wipe

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.

Page Wipe props

PropTypeDefaultDescription
colors{ name: string; hex: string }[]
darkboolean
autoplayboolean
onPick(c: { name: string; hex: string }) => void

Methods on the ref

Use it in React

import PageWipe from './PageWipe';

<PageWipe />

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

More in Livery

Good for: Theme and dark mode.