Inset Card About
Wide cinematic photo with an overlapping content card positioned over its lower-left corner, followed by a four-item stat ribbon beneath the photo.
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/inset-card-about.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/about/about54.tsx instead.
Usage
The file also exports about54Demo, 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 { About54, about54Demo } from "@/components/blocks/about/about54"; export default function Page() { return <About54 {...about54Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| heading | string | none | Heading inside the inset card. |
| description | string | none | Body paragraph inside the inset card. |
| photo | { src: string; alt: string } | none | Wide banner photo behind the inset card. |
| stats | StatItem[] | none | Stat ribbon rendered below the photo, above a top border. |
| className | string | none | Extra classes for the outer section element. |
Types
type StatItem = { title: string; value: string };
Behavior notes
- The content card uses absolute positioning offset from the photo's bottom-left corner, unlike About10's bento layout where the photo and text card sit in separate grid cells with no overlap.
- stats renders as a single four-column ribbon below the photo, closer in spirit to About14's stats-then-story-card order, but here the stats come after the visual instead of before it.
- photo is required, not optional, since the whole layout is built around the image; MediaSlot's gradient placeholder only appears if a caller omits src within the object rather than the object itself.
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.