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
Character
Playful
Add it to your app
$
npx velvo add add-to-bagFor Claude Code, Cursor or any project with a terminal.
Use it for
- Shops, menus, anything with a basket.
Not for
- Buying straight away. Go to checkout.
Props
Read from the component’s own TypeScript, so it’s always current.
<AddToBag />
PropTypeDefault
targetRequiredRefObject<HTMLElement | null>thumbRequiredstringonAddRequired() => voidlabelstring'Add to bag'<BagIcon />
PropTypeDefault
countRequirednumberlabelstring'Bag'Make it better with a skill
Add one to your agent and it uses Add to bag the way it was designed.
Spacing and buttonsFree
Sizes and spaces it on the same scale as the rest of the page, so it sits right.
$
Read the skillnpx velvo skill spacing-and-buttonsMotion with weightFree
Keeps its springs and press feel intact when your agent wires it into your app.
$
Read the skillnpx velvo skill velvo-motionSpecs
- Category
- Buttons
- Tier
- Pro
- Built with
- React and TypeScript
- Files
- 17
- Size
- 378 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.