Lanceringsuge50 % rabat på et år AuteurSe planer
SpacesFå 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.

Åbn i editoren
PhotosRecents

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

Karakter
Legesyg

Føj den til din app

$npx velvo add photo-viewer

Til Claude Code, Cursor eller et hvilket som helst projekt med en terminal.

Brug den til

  • Galleries, product photos, attachments.

Ikke til

  • Single images that don’t need zoom.

Props

Læst direkte fra komponentens egen TypeScript, så de altid er opdaterede.

PropTypeStandard
photosPåkrævet{ id: string; src: string; alt: string }[]

Bedre med en skill

Giv din agent en, så bruger den Photo viewer, som den er tænkt.

Motion with weightGratis

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

$npx velvo skill velvo-motion
Læs skillen
Empty, loading and error statesPro

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

Følger med ProLæs skillen

Specs

Category
Drag and drop
Tier
Pro
Built with
React and TypeScript
Files
17
Size
377 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
NæsteToast