Compare Grátis
Before and after, one over the other. Drag anywhere to wipe across; the labels step aside as you near them.
Drag anywhere on the photo.
Caráter
Brincalhão
Cadastre-se grátis para baixar
Use para
- Photo edits, redesigns, before and after.
Não use para
- Two different pictures. Show them side by side.
Props
Lidas do próprio TypeScript do componente, então estão sempre atualizadas.
PropTipoPadrão
beforeObrigatóriaReactNodeafterObrigatóriaReactNodebeforeLabelstring'Before'afterLabelstring'After'startnumber0.5Melhore com uma skill
Adicione uma ao seu agente e ele usa Compare do jeito que foi pensado.
Motion with weightGrátis
Keeps its springs and press feel intact when your agent wires it into your app.
$
Ler a skillnpx velvo skill velvo-motionEmpty, loading and error statesPro
Designs its empty, loading and error moments, the ones that usually get forgotten.
Vem com o ProLer a skillSpecs
- Category
- Drag and drop
- Tier
- Free
- Built with
- React and TypeScript
- Files
- 17
- Size
- 366 KB
- Needs
- framer-motion
- Install
- npx velvo add compare-slider
- Works with
- Next.js, Vite, Remix, Expo web
Licence
Velvo free licence- Personal and commercial use
- Change it however you like
- No credit needed
Not for resale as a component or a UI kit.