Three bordered cards, each one a whole link with a photograph drifting across its top, a quiet category line, a serif title, an excerpt and an arrow pinned to the foot of the card.
Three bordered cards, each a whole link with a photograph drifting across its top.
Upgrade to Pro
Pro blocks install through the shadcn CLI with your license key and ship their full source. Docs and live previews stay open to everyone, so you can read every block's details first.
Swap YOUR_EMAIL and YOUR_KEY for the email and license key on your account. Find your license key on your account page.
Radix flavor
npx shadcn add "https://ui.beste.co/r/feature311?email=YOUR_EMAIL&license_key=YOUR_KEY"Base UI flavor
npx shadcn add "https://ui.beste.co/r-base/feature311?email=YOUR_EMAIL&license_key=YOUR_KEY"This installs the block to components/beste/block/feature311.tsx plus the button22 sliding-marker pill and the text1 word stagger it uses.
The installed file exports feature311Demo alongside the block: the exact props behind the preview above. Spread it to get a working linked Photo Cards in one line.
import { Feature311, feature311Demo } from "@/components/beste/block/feature311";
export default function Page() {
return <Feature311 {...feature311Demo} />;
}Then replace the demo with your own props. Written out, a trimmed setup looks like this:
import { Feature311 } from "@/components/beste/block/feature311";
export default function Page() {
return (
<Feature311
eyebrow="Reading room"
heading="Three long pieces, if you have the afternoon."
button={ label: "The whole journal", href: "/journal", tone: "outline" }
cards={[
{
title: "The first ten minutes",
description: "Almost everyone spends them apologising.",
meta: "Practice",
href: "/journal/first-ten-minutes",
image: { src: "/journal/ten.jpg", alt: "A clock face on a plastered wall" },
},
]}
/>
);
}| Prop | Type | Default | Description |
|---|---|---|---|
eyebrow | string | – | Small-caps line above the heading |
heading | string | – | Section heading, rendered as an h2 through Text1 |
button | ActionButton | – | Pill action beside the heading |
cards | Card[] | [] | Linked photo cards, three across from md |
className | string | – | Extra classes for the outer <section> |
type Card = {
title: string;
description: string;
meta?: string;
href: string;
image: Image;
};
type Image = { src: string; alt: string };
type ActionButton = {
label: string;
href: string;
tone?: "primary" | "light" | "dark" | "outline";
};Link.meta is a plain sentence-case line rather than a badge, which keeps the category from competing with the title.-8% to 8% against a 1.18 scale, so three in a row do not move together.mt-auto, so cards with different excerpt lengths still line up.blur(24px) on decode, with a complete check for cached files.feature306
Two tall cards, each one a whole link: a photograph that drifts inside its frame above a quiet label, a serif title, an intro, a short dotted list and a closing arrow link pinned to the foot of the card.
feature309
Three numbered cards on a muted fill, each one a whole link that inverts to ink on hover, carrying a serif title, a paragraph of what happens at that step and a closing arrow link.
feature304
One tall photographic card carrying the page worth reading first, beside a ruled column of three compact rows that split the remaining height evenly; every card and row is a whole link with an arrow that lifts on hover.
feature307
Four hairline cards, each a whole link that leads with a large serif figure and an optional unit, then a title, a line of context and an arrow that lifts on hover.