Semana de lanzamiento50 % de descuento en un año de AuteurVer planes
EspaciosHazte Pro
Todos los componentes

Add to bag Pro

The product leaves the button on an arc, drops into the bag, and the bag bounces and counts it in.

Abrir en el editor
Runners
Cloud Runner 2Ember · £120
78910
Carácter
Juguetón

Añádelo a tu app

$npx velvo add add-to-bag

Para Claude Code, Cursor o cualquier proyecto con terminal.

Úsalo para

  • Shops, menus, anything with a basket.

No para

  • Buying straight away. Go to checkout.

Props

Leídas del propio TypeScript del componente, así que siempre están al día.

<AddToBag />

PropTipoPor defecto
targetObligatoriaRefObject<HTMLElement | null>
thumbObligatoriastring
onAddObligatoria() => void
labelstring'Add to bag'

<BagIcon />

PropTipoPor defecto
countObligatorianumber
labelstring'Bag'

Mejóralo con una skill

Añade una a tu agente y usará Add to bag tal como se diseñó.

Spacing and buttonsGratis

Sizes and spaces it on the same scale as the rest of the page, so it sits right.

$npx velvo skill spacing-and-buttons
Leer la skill
Motion with weightGratis

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

$npx velvo skill velvo-motion
Leer la skill

Specs

Category
Buttons
Tier
Pro
Built with
React and TypeScript
Files
17
Size
380 KB
Needs
framer-motion
Install
npx velvo add add-to-bag
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

buttonsspringproreact
SiguienteAura button