Deals as rows
Rows instead of cards: the name, what is included, and the price with the old price struck through.
UniversalUsed in production
Install
npx finepieces add deal-rowsOr with the shadcn CLI ›
npx shadcn@latest add https://finepieces.net/r/deal-rows.jsonWijs een rij aan
example.tsx
import { DealRows } from "@/components/fine-pieces/deal-rows";
export default function Example() {
return (
<DealRows
deals={[
{ name: "First visit", tag: "for new clients", includes: "Lash lift with tint and a quick skin scan", price: "€59", was: "€75" },
{ name: "Bridal", tag: "two appointments", includes: "Trial session and the day itself, eyes and skin", price: "€189", was: "€230" },
{ name: "Monthly", tag: "membership", includes: "Brows and a facial, every four weeks", price: "€85", was: "€110" },
]}
/>
);
}