Edge Label About
Asymmetric about section with a full-bleed image carrying a rotated vertical edge label, paired with offset heading and body copy plus an inline stats row below.
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/edge-label-about.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/about/about36.tsx instead.
Usage
The file also exports about36Demo, 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 { About36, about36Demo } from "@/components/blocks/about/about36"; export default function Page() { return <About36 {...about36Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| edgeLabel | string | none | Short text rendered vertically (writing-mode: vertical-rl) over the top-left corner of the image. |
| heading | string | none | Section heading. |
| paragraphs | string[] | none | Body paragraphs rendered below the heading. |
| stats | StatItem[] | [] | Inline stat row below the copy, separated by a top border. |
| image | MediaSlotImage | undefined | Full-bleed image on the left column; falls back to the shared gradient placeholder. |
| className | string | none | Extra classes for the outer section element. |
Types
type StatItem = { title: string; value: string };
Behavior notes
- The edgeLabel is real rotated text via CSS writing-mode, not an icon or badge component, distinguishing it from About17's icon-badge award list.
- On large screens the heading and paragraph column is pulled up and inset with a negative top margin and left indent so it reads as offset against the full-bleed image, unlike About13's company-profile layout where the image sits above the text in the same column.
- The stats row uses flex-wrap with individually sized items rather than About14's fixed 4-column grid, so it stays compact when only two or three stats are supplied.
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.