Image Compare
- from @karaui
- by kara <ztzyrant@gmail.com>
Before/after comparison whose top layer is clipped by a spring-smoothed clip-path divider, with a draggable knob, optional hover-follow mode, edge-fading labels, keyboard slider control, and images or any React node on either side.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @karaui/image-compareLive preview
No live preview has been built for this component yet.
Registry dependencies0
The CLI adds no other registry items with this one.
