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

Card stack Pro

Throw the top card left or right. It tilts as you drag, says what it’ll do, and the next one rises.

Copenhagen2 nights · from £310
Lisbon3 nights · from £240
KeepSkip
0 kept
Karaktär
Lekfull

Lägg till i din app

$npx velvo add card-stack

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

Använd till

  • Quick yes or no on one thing at a time: trips, recipes, candidates.

Inte till

  • Comparing options. People need to see them side by side.

Props

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

PropTypStandard
cardsKrävsStackCard[]
keepLabelstring'Keep'
skipLabelstring'Skip'
onKeep(c: StackCard) => void
onSkip(c: StackCard) => void

Bättre med en skill

Ge din agent en, så använder den Card stack 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
365 KB
Needs
framer-motion
Install
npx velvo add card-stack
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 dropgesturepayments3dproreact
NästaDrop zone