Use Case Image Cards
A feature section with a centered heading above a three-column grid of tall image cards. Each card is a full-card link: a photo fills the card with a bottom gradient scrim, title, description, and arrow indicator sit over it, and the photo zooms in slightly on hover.
Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its media-slot dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/use-case-image-cards.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/feature/feature121.tsx instead.
Usage
The file also exports feature121Demo, the exact props behind the preview above. Spread it to get a working section in one line, then replace it with your own data.
import { Feature121, feature121Demo } from "@/components/blocks/feature/feature121"; export default function Page() { return <Feature121 {...feature121Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | undefined | Small label above the heading; omitted entirely when unset. |
| heading | string | none | Section heading. |
| description | string | undefined | Supporting copy under the heading. |
| cards | Feature121Card[] | none | Image cards, each a full-card link. |
| className | string | undefined | Extra classes for the outer section element. |
Types
interface Feature121Card { title: string; description: string; image: { src: string; alt: string }; href: string; }
Behavior notes
- Plain Server Component. The hover zoom (`group-hover:scale-105` on the image) and arrow-shift are pure CSS transitions, there is no click or hover state tracked in JavaScript.
- Each card is a real Next.js `<Link>` wrapping the whole card, not a decorative click target, so it is keyboard-focusable and works with `href="#"` placeholders exactly like this category's other CTA links.
- The bottom gradient scrim (`bg-gradient-to-t from-background/95`) exists purely to keep the overlaid title/description legible over an arbitrary photo, it does not change based on the image supplied.
More Feature Blocks
View all →Full-Bleed Workspace Band
Two-column header above a full-bleed image band with a live view switcher, closing on three numbered captions.
Center-Line Journey Timeline
Vertical hairline timeline alternating stages either side, dropping a phone frame on one step.
Figure-Led Evidence Rows
Tall image with a floating before-and-after card, leading into oversized-figure evidence rows.
Staircase Asset Trio
Three image tiles stepping down the page in a staircase, each floating a different live asset.
Sticky Reference List
Sticky heading column beside three labelled groups of checked capabilities, closing on a footnote.
Day Timeline Rows
Hairline rows walking through one working day, stamped with time and a live approval card inline.