Cart Price Summary
A production-scale, light + dark Cart Price Summary component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add cart-price-summaryLive preview available in the gallery.
Usage
import { CartPriceSummary } from "@lerpa/ui";
<CartPriceSummary />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| subtotal | number | — | |
| taxRate | number | — | |
| couponCode | string | — | |
| couponDiscount | number | — | |
| onCheckout | () => void | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.