About Stats Grid
An eyebrow label and a two-tone heading (a muted lead-in span plus a foreground emphasis span) sit above two offset portrait images beside a 2x2 grid of bordered stat cards.
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/about-stats-grid.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/about/about34.tsx instead.
Usage
The file also exports about34Demo, 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 { About34, about34Demo } from "@/components/blocks/about/about34"; export default function Page() { return <About34 {...about34Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | undefined | Small uppercase label above the heading. |
| headingLead | string | none | First span of the heading, rendered in text-muted-foreground. |
| headingEmphasis | string | none | Second span of the heading, rendered in text-foreground. |
| imageOne | MediaSlotImage | undefined | Left portrait image. |
| imageTwo | MediaSlotImage | undefined | Right portrait image, offset downward from the first. |
| stats | StatItem[] | none | Stat cards on the right, laid out as a 2x2 grid of bordered tiles. |
| className | string | none | Extra classes for the outer section element. |
Types
type StatItem = { title: string; value: string };
Behavior notes
- The heading is split across two props instead of one string, unlike every other About block's single heading field, so callers control exactly where the muted-to-foreground color change lands mid-sentence.
- imageTwo carries a fixed top offset (mt-8) so the pair reads as an intentionally staggered portrait pairing, unlike About32's two images, which stay aligned on the same baseline regardless of ratio.
- stats render as four individually bordered 2x2 tiles next to the images, unlike About1's stat grid, which sits in a plain unbordered dl beside a mission paragraph rather than beside photos.
More About Blocks
View all →team-mission
Team & Mission
Two-column about section with mission statement, company stats, and team member grid.
values-with-team-photo
Values with Team Photo
Full-width photo with a three-column values grid below.
timeline-milestones
Timeline & Milestones
Company stats on the left and a vertical timeline of milestones on the right.
founder-quote-team
Founder Quote & Team
Founder blockquote with avatar, followed by a horizontal team member row.
image-text-split
Image & Text Split
Tall image on the left, company story, inline stats, and CTAs on the right.
numbered-principles
Numbered Principles
Heading on the left and numbered company principles on the right.