Dev Design Library

Lens

An interactive component that enables zooming into images, videos and other elements.

Lens preview
Library
Animations (Svelte)
Framework
Svelte
Type
block
License
MIT
Dependencies
motion-sv
Install
pnpm dlx shadcn-svelte@latest add https://sv-animations.vercel.app/r/lens.json
Files
  • src/lib/components/magic/lens/lens.svelte
  • src/lib/components/magic/lens/index.ts
  • src/lib/utils.ts
Source
https://github.com/SikandarJODD/animations

Categories

More from Animations (Svelte)