Add to bag Pro
The product leaves the button on an arc, drops into the bag, and the bag bounces and counts it in.
Runners
Cloud Runner 2Ember · £120
78910
Carácter
Juguetón
Añádelo a tu app
$
npx velvo add add-to-bagPara 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>thumbObligatoriastringonAddObligatoria() => voidlabelstring'Add to bag'<BagIcon />
PropTipoPor defecto
countObligatorianumberlabelstring'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.
$
Leer la skillnpx velvo skill spacing-and-buttonsMotion with weightGratis
Keeps its springs and press feel intact when your agent wires it into your app.
$
Leer la skillnpx velvo skill velvo-motionSpecs
- 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.