Launch-Woche50 % auf ein Jahr AuteurPläne ansehen
SpacesPro holen
Alle Komponenten

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.

Im Editor öffnen
PhotosRecents

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

Charakter
Verspielt

Zu deiner App hinzufügen

$npx velvo add photo-viewer

Für Claude Code, Cursor oder jedes Projekt mit Terminal.

Gut für

  • Galleries, product photos, attachments.

Nicht für

  • Single images that don’t need zoom.

Props

Direkt aus dem TypeScript der Komponente gelesen, also immer aktuell.

PropTypStandard
photosPflicht{ id: string; src: string; alt: string }[]

Mit einem Skill noch besser

Gib deinem Agenten einen davon, und er nutzt Photo viewer so, wie es gedacht ist.

Motion with weightKostenlos

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

$npx velvo skill velvo-motion
Skill lesen
Empty, loading and error statesPro

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

Mit ProSkill lesen

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
WeiterToast