Cart Item Swipe Quantity
A production-scale, light + dark Cart Item Swipe Quantity component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add cart-item-swipe-quantityLive preview available in the gallery.
Usage
import { CartItemSwipeQuantity } from "@lerpa/ui";
<CartItemSwipeQuantity />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| id | string | - | |
| name | string | - | |
| price | number | — | |
| initialQty | number | — | |
| onQtyChange | (id: string, qty: number) => void | — | |
| className | string | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.