Lanseringsvecka50 % rabatt på ett år AuteurSe planer
SpacesSkaffa Pro
Alla komponenter

Carousel Gratis

Drag or flick. It carries your momentum and lands on a card; the ends stretch; the current dot grows long.

Big Sur3 nights
Zermatt5 nights
Merzouga2 nights
Bled4 nights
Reykjavík3 nights
Karaktär
Lekfull
Registrera dig gratis för att ladda ner

Använd till

  • A handful of big things to browse: trips, products, stories.

Inte till

  • Important content past the first card. Many people never swipe.

Props

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

PropTypStandard
slidesKrävsReactNode[]
widthnumber0.8
gapnumber12

Bättre med en skill

Ge din agent en, så använder den Carousel 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
Free
Built with
React and TypeScript
Files
16
Size
304 KB
Needs
framer-motion
Install
npx velvo add carousel
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.

Tags

drag and dropgesturepaymentsfreereact
NästaSplit view