Dev Design Library

Image compare

Drag a divider across two images to see what changed.

Image compare preview
Library
Arc Library
Framework
React
Type
ui
License
MIT
Dependencies
lucide-react, motion
Install
npx shadcn@latest add https://uiarc.dev/r/image-compare.json
Files
  • registry/components/image-compare/image-compare.tsx
  • registry/components/image-compare/image-compare.module.css
  • registry/motion-tokens.ts
  • lib/motion-tokens.ts
Source
https://github.com/kuratlielia/arc-library

Categories

More from Arc Library