Image & Text Split
Side-by-side layout with a tall image on the left and company story, inline stats, and CTAs on the right.
Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its button, media-slot dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/image-text-split.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/about/about5.tsx instead.
Usage
The file also exports about5Demo, 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 { About5, about5Demo } from "@/components/blocks/about/about5"; export default function Page() { return <About5 {...about5Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| image | { src: string; alt: string } | undefined | Tall image on the left; renders a placeholder when omitted. |
| heading | string | none | Section heading. |
| story | string | none | Company story paragraph. |
| stats | StatItem[] | [] | Inline stats below the story text. |
| buttons | ButtonItem[] | [] | CTA buttons at the bottom of the text column. |
| className | string | none | Extra classes for the outer section element. |
Types
type StatItem = { title: string; value: string }; type ButtonItem = { label: string; href?: string; variant?: "default" | "secondary" | "outline" | "ghost" | "link" | "destructive"; };
Behavior notes
- Unlike About1, buttons here alternate: the first button defaults to variant "default" and every button after it defaults to "outline", unless a button sets its own variant explicitly.
- The image column keeps a fixed 4:5 aspect ratio at every breakpoint so the two-column grid never becomes lopsided when the image is a placeholder.
- stats renders as an inline flex-wrap row rather than a grid, so it stays readable with anywhere from one to several stats.
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.
numbered-principles
Numbered Principles
Heading on the left and numbered company principles on the right.
team-cards-with-bios
Team Cards with Bios
Three-column grid of team member cards with avatars, roles, and short bios.