Depth Of Field Hover Gallery
A production-scale, light + dark Depth Of Field Hover Gallery component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add depth-of-field-hover-galleryUsage
import { DepthOfFieldHoverGallery } from "@lerpa/ui";
<DepthOfFieldHoverGallery />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | — | |
| items | { src?: string | — | |
| label | string | — | |
| bg | string }[] | — | |
| columns | number | — | |
| maxBlur | number | — | |
| falloff | number | — | |
| scale | number | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.