Component packs › Darkroom › Polish Wipe
Drag a microfibre cloth across dirty paint and it polishes back to the real photo where it passes, with a reflection under the pointer and a meter for the panel.
Polish Wipe is a reveal from Darkroom, a component pack with 7 effects: Seven photo effects that work on real photos, not on drawings of them. Price: $2 for the whole pack.
Built with: canvas wipe, coverage meter, moving reflection.
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 |
|---|---|---|---|
light | boolean | ||
autoplay | boolean | ||
src | string | ||
onProgress | (done: number) => void | ||
onDone | () => void |
reset(): voiddestroy(): voidimport PolishWipe from './PolishWipe';
<PolishWipe />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Image effect components.