Magazine cover
The homepage as a cover: a masthead, cover lines and a sticker.
UniversalUsed in production
Install
npx finepieces add magazine-coverOr with the shadcn CLI ›
npx shadcn@latest add https://finepieces.net/r/magazine-cover.jsonexample.tsx
import { MagazineCover } from "@/components/fine-pieces/magazine-cover";
export default function Example() {
return (
<MagazineCover
image={"/images/portret2-2.webp"}
masthead="VELD"
lines={[
{ kicker: "New", text: "The winter collection, in wool and linen" },
{ kicker: "Interview", text: "Why we make everything in Portugal", align: "right" },
{ kicker: "Sizes", text: "XS to 3XL, same price" },
]}
sticker={{ value: "€95", label: "the coat" }}
/>
);
}