Pixel Dissolve Hover Image
A production-scale, light + dark Pixel Dissolve Hover Image component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add pixel-dissolve-hover-imageLive preview available in the gallery.
Usage
import { PixelDissolveHoverImage } from "@lerpa/ui";
<PixelDissolveHoverImage />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| imageSrc | string | - | |
| imageAlt | string | — | |
| gridColumns | number | — | |
| gridRows | number | — | |
| revealRadius | number | — | |
| maskColorClass | string | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.