Reply coupon
A form as a cut-out coupon from a magazine, with a dashed line and tick boxes.
UniversalUsed in production
Install
npx finepieces add reply-couponOr with the shadcn CLI ›
npx shadcn@latest add https://finepieces.net/r/reply-coupon.jsonexample.tsx
import { ReplyCoupon } from "@/components/fine-pieces/reply-coupon";
export default function Example() {
return (
<ReplyCoupon
brand="VELD"
fields={[
{ name: "name", label: "Name", placeholder: "your name" },
{ name: "email", label: "Email", type: "email", placeholder: "you@mail.com" },
{ name: "size", label: "Size", placeholder: "M" },
{ name: "city", label: "City", placeholder: "Leiden" },
]}
options={["the newsletter", "a fabric swatch", "to visit"]}
/>
);
}