Component packs › Darkroom › Light Sweep
A band of studio light crosses the product only, never the wall behind it, following the pointer while the photo tilts toward it.
Light Sweep is a product image 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: masked light band, pointer tilt, auto sweep.
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 | ||
name | string | ||
detail | string |
sweep(): voiddestroy(): voidimport LightSweep from './LightSweep';
<LightSweep />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Image effect components.