Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/timeline-milestones.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/about/about3.tsx instead.
Usage
The file also exports about3Demo, 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 { About3, about3Demo } from "@/components/blocks/about/about3"; export default function Page() { return <About3 {...about3Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| heading | string | none | Section heading. |
| description | string | undefined | Section intro text. |
| stats | StatItem[] | [] | Stat tiles below the heading. |
| milestones | Milestone[] | none | Timeline entries, rendered in the order passed in. |
| className | string | none | Extra classes for the outer section element. |
Types
type StatItem = { title: string; value: string }; type Milestone = { year: string; title: string; description: string; };
Behavior notes
- milestones renders in whatever order the array is passed in; the component does not sort by year, so callers are responsible for chronological ordering.
- The timeline uses a left border plus an absolutely positioned dot per entry rather than an ordered-list marker, so it reads the same regardless of list-style resets elsewhere on the page.
- stats is optional; omitting it (or passing an empty array) removes the stat grid without leaving a gap above the timeline.
More About Blocks
View all →Team & Mission
Two-column about section with mission statement, company stats, and team member grid.
Values with Team Photo
Full-width photo with a three-column values grid below.
Founder Quote & Team
Founder blockquote with avatar, followed by a horizontal team member row.
Image & Text Split
Tall image on the left, company story, inline stats, and CTAs on the right.
Numbered Principles
Heading on the left and numbered company principles on the right.
Team Cards with Bios
Three-column grid of team member cards with avatars, roles, and short bios.