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
Karakter
Legesyg
Føj den til din app
$
npx velvo add add-to-bagTil Claude Code, Cursor eller et hvilket som helst projekt med en terminal.
Brug den til
- Shops, menus, anything with a basket.
Ikke til
- Buying straight away. Go to checkout.
Props
Læst direkte fra komponentens egen TypeScript, så de altid er opdaterede.
<AddToBag />
PropTypeStandard
targetPåkrævetRefObject<HTMLElement | null>thumbPåkrævetstringonAddPåkrævet() => voidlabelstring'Add to bag'<BagIcon />
PropTypeStandard
countPåkrævetnumberlabelstring'Bag'Bedre med en skill
Giv din agent en, så bruger den Add to bag, som den er tænkt.
Spacing and buttonsGratis
Sizes and spaces it on the same scale as the rest of the page, so it sits right.
$
Læs skillennpx velvo skill spacing-and-buttonsMotion with weightGratis
Keeps its springs and press feel intact when your agent wires it into your app.
$
Læs skillennpx 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.