Lanseringsvecka50 % rabatt på ett år AuteurSe planer
SpacesSkaffa Pro
Alla 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.

Öppna i editorn
PhotosRecents

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

Karaktär
Lekfull

Lägg till i din app

$npx velvo add photo-viewer

För Claude Code, Cursor eller vilket projekt som helst med terminal.

Använd till

  • Galleries, product photos, attachments.

Inte till

  • Single images that don’t need zoom.

Props

Lästa direkt ur komponentens egen TypeScript, så de är alltid aktuella.

PropTypStandard
photosKrävs{ id: string; src: string; alt: string }[]

Bättre med en skill

Ge din agent en, så använder den Photo viewer som det är 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.

Ingår i ProLäs 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
NästaToast