Linked Photo Cards

About this block

Linked Photo CardsPRO

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.

Feature311: Linked Photo Cards

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.

Upgrade Now

Installation

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

bash
npx shadcn add "https://ui.beste.co/r/feature311?email=YOUR_EMAIL&license_key=YOUR_KEY"

Base UI flavor

bash
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.

Quick start

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.

tsx
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:

tsx
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" },
        },
      ]}
    />
  );
}

Props

PropTypeDefaultDescription
eyebrowstringSmall-caps line above the heading
headingstringSection heading, rendered as an h2 through Text1
buttonActionButtonPill action beside the heading
cardsCard[][]Linked photo cards, three across from md
classNamestringExtra classes for the outer <section>
ts
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";
};

Behavior notes

  • The photograph sits inside the card's border rather than above it, so the whole tile reads as one object under one Link.
  • meta is a plain sentence-case line rather than a badge, which keeps the category from competing with the title.
  • Each card owns its own scroll listener and drifts -8% to 8% against a 1.18 scale, so three in a row do not move together.
  • The arrow is pushed to the foot by mt-auto, so cards with different excerpt lengths still line up.
  • Photos clear from blur(24px) on decode, with a complete check for cached files.
  • The border darkens on hover rather than the card lifting, which keeps the row still.

More Feature blocks

View all Feature
PRO

feature306

Two Linked Doors

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.

PRO

feature309

Linked Step Cards

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.

PRO

feature304

Spotlight and Linked Rows

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.

PRO

feature307

Linked Figure Cards

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.

PRO

feature303

Sticky Header Linked Cards

The heading, intro and pill stay pinned in a sticky column while linked photo cards scroll past in pairs beside them, each photograph drifting inside its frame under a serif title, a meta line and an arrow that lifts on hover.

PRO

feature300

Linked Card Grid

Six hairline cards in a three-column grid, each one a whole link carrying a ringed icon, a serif title, a line of context and an arrow that lifts on hover, under a serif heading that settles in word by word beside a sliding-marker pill.