Semana de lançamento50% de desconto em um ano de AuteurVer planos
EspaçosAssinar o Pro
Todos os componentes

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.

Abrir no editor
PhotosRecents

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

Caráter
Brincalhão

Adicione ao seu app

$npx velvo add photo-viewer

Para Claude Code, Cursor ou qualquer projeto com terminal.

Use para

  • Galleries, product photos, attachments.

Não use para

  • Single images that don’t need zoom.

Props

Lidas do próprio TypeScript do componente, então estão sempre atualizadas.

PropTipoPadrão
photosObrigatória{ id: string; src: string; alt: string }[]

Melhore com uma skill

Adicione uma ao seu agente e ele usa Photo viewer do jeito que foi pensado.

Motion with weightGrátis

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

$npx velvo skill velvo-motion
Ler a skill
Empty, loading and error statesPro

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

Vem com o ProLer a skill

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
PróximoToast