Figure-Led Evidence Rows
A feature section that opens on a tall image tile floating a live before-and-after card, then sets out its evidence as hairline rows leading on an oversized light figure paired with an explanation and the method behind it. Good for a proof-heavy section that wants to feel measured rather than promotional.
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/figure-led-evidence-rows.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/feature/feature3.tsx instead.
Usage
The file also exports feature3Demo, 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 { Feature3, feature3Demo } from "@/components/blocks/feature/feature3"; export default function Page() { return <Feature3 {...feature3Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | none | Small label above the heading. |
| heading | ReactNode | none | Section heading, right column. |
| description | string | none | Supporting copy under the heading. |
| image | MediaSlotImage | none | Tall photo in the left column. |
| beforeAfter | BeforeAfterStat | none | Metric shown in the card floating over the image's bottom edge. |
| rows | EvidenceRow[] | none | Hairline evidence rows below the heading. |
| className | string | none | Extra classes for the outer section element. |
Types
type BeforeAfterStat = { metric: string; label: string }; type EvidenceRow = { /** Short numeral or label rendered oversized and light, e.g. "01" or "3x". */ figure: string; title: string; description: string; method: string; };
Behavior notes
- Entirely static and server-rendered: the floating before-and-after card is a decorative absolutely-positioned card over the image, not a draggable comparison slider.
- The oversized figure column is a plain styled string (font-extralight, low-opacity muted color), not a counted-up animation.
- Row layout is a 3-column grid on sm+ screens (figure, explanation, method) and stacks to a single column on mobile.
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.
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.
Expanding Proof Rows
Full-width hairline rows that expand in place to reveal a paragraph beside a live asset image.