Photo viewer Pro
Tap a photo and it grows out of the grid. Swipe for the next; drag down and it shrinks, follows you, and flies home.
PhotosRecents
Tap a photo. Swipe sideways, or drag down to close.
Character
Playful
Add it to your app
$
npx velvo add photo-viewerFor Claude Code, Cursor or any project with a terminal.
Use it for
- Galleries, product photos, attachments.
Not for
- Single images that don’t need zoom.
Props
Read from the component’s own TypeScript, so it’s always current.
PropTypeDefault
photosRequired{ id: string; src: string; alt: string }[]Make it better with a skill
Add one to your agent and it uses Photo viewer the way it was designed.
Motion with weightFree
Keeps its springs and press feel intact when your agent wires it into your app.
$
Read the skillnpx velvo skill velvo-motionEmpty, loading and error statesPro
Designs its empty, loading and error moments, the ones that usually get forgotten.
Comes with ProRead the skillSpecs
- Category
- Drag and drop
- Tier
- Pro
- Built with
- React and TypeScript
- Files
- 17
- Size
- 367 KB
- Needs
- framer-motion
- Install
- npx velvo add photo-viewer
- Works with
- Next.js, Vite, Remix, Expo web
Licence
Velvo Pro licence- Personal and commercial use
- Change it however you like
- No credit needed
Not for resale as a component or a UI kit.