MotionImageRevealSlider
1.0.0Marketing still with a draggable rail that reveals a color photograph from a grayscale overlay, or compares two images.
npx jabkit add motion-image-reveal-sliderComponent Data
- ID
- motion-image-reveal-slider
- Category
- marketing
- Version
- 1.0.0
- Added
- 2026-09-07
- Type
- block
- Keyboard nav
- Yes
- Reduced motion
- Yes
sliderrevealcomparisonimagegrayscalemarketinginteractivebefore-afterlanding
Dependencies
- lucide-react
- clsx
- tailwind-merge
Examples
Default
<div className="bg-background text-foreground">
<MotionImageRevealSlider {...motionImageRevealSliderMocks.default} />
</div>Variants
<div className="bg-background text-foreground">
<MotionImageRevealSlider {...motionImageRevealSliderMocks.alternate} />
</div>