Timeline & Milestones
Two-column layout with company stats on the left and a vertical timeline of milestones on the right. Ideal for company history and growth stories.
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
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.
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.
team-cards-with-bios
Team Cards with Bios
Three-column grid of team member cards with avatars, roles, and short bios.