Product Card Sale
A production-scale, light + dark Product Card Sale component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add product-card-saleLive preview available in the gallery.
Usage
import { ProductCardSale } from "@lerpa/ui";
<ProductCardSale />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| name | string | — | |
| salePrice | number | — | |
| regularPrice | number | — | |
| expiresInSeconds | number | — | |
| onClaim | () => void | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.