Lanseringsuke50 % rabatt på ett år AuteurSe planer
SpacesSkaff Pro
Alle komponenter

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.

Åpne i editoren
PhotosRecents

Tap a photo. Swipe sideways, or drag down to close.

Karakter
Leken

Legg den til i appen din

$npx velvo add photo-viewer

For Claude Code, Cursor eller et hvilket som helst prosjekt med terminal.

Bruk til

  • Galleries, product photos, attachments.

Ikke til

  • Single images that don’t need zoom.

Props

Lest rett fra komponentens egen TypeScript, så de er alltid oppdatert.

PropTypeStandard
photosPåkrevd{ id: string; src: string; alt: string }[]

Bedre med en skill

Gi agenten din en, så bruker den Photo viewer slik den er tenkt.

Motion with weightGratis

Keeps its springs and press feel intact when your agent wires it into your app.

$npx velvo skill velvo-motion
Les skillen
Empty, loading and error statesPro

Designs its empty, loading and error moments, the ones that usually get forgotten.

Følger med ProLes skillen

Specs

Category
Drag and drop
Tier
Pro
Built with
React and TypeScript
Files
17
Size
379 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.

Tags

drag and dropgesturemediaproreact
NesteToast