A small product catalog that collects a quote instead of a cart. Tap a product's pill and it joins the list in the corner.
The import and the props worth knowing about, in one place.
import { Commerce37 } from "@/components/beste/piece/commerce37";
<Commerce37
filters={[
"All",
"Serums",
"Creams",
"Gifts"
]}
activeFilter={0}
products={[
{
"image": "https://oud.pics/b/beste/oriel-serum.webp",
"name": "Barrier serum",
"added": true
},
{
"image": "https://oud.pics/b/beste/oriel-ritual.webp",
"name": "Night cream",
"added": true
},
{
"image": "https://oud.pics/b/beste/oriel-consultation.webp",
"name": "Gift card",
"added": false
}
]}
addedLabel="Added ✓"
addLabel="Add to quote"
quote={{
"title": "Quote list",
"items": [
{
"name": "Barrier serum",
"quantity": 24
},
{
"name": "Night cream",
"quantity": 12
}
],
"button": "Request a quote"
}}
/>