Product Grid
A production-scale, light + dark Product Grid component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add product-gridLive preview available in the gallery.
Usage
import { ProductGrid } from "@lerpa/ui";
<ProductGrid />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| tag | string | — | |
| title | string | — | |
| description | string | — | |
| products | Product[] | — | |
| onAddToCart | (product: Product) => void | — | |
| onFavoriteClick | (product: Product) => void | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.