Stats with Descriptions
Four-column stats grid with large numbers, titles, and supporting descriptions. Perfect for impact and results sections.
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/stats-with-descriptions.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/about/about8.tsx instead.
Usage
The file also exports about8Demo, 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 { About8, about8Demo } from "@/components/blocks/about/about8"; export default function Page() { return <About8 {...about8Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| heading | string | undefined | Optional heading above the stats grid. |
| stats | StatItem[] | none | Stat tiles, each with a value, title, and short description. |
| className | string | none | Extra classes for the outer section element. |
Types
type StatItem = { value: string; title: string; description: string; };
Behavior notes
- heading is entirely optional; when omitted the stats grid renders with no top margin instead of leaving a blank heading area.
- Each stat tile is separated from its neighbors by a top border rather than a card outline, giving a lighter, editorial look for a section meant to hold four short items.
- The grid is sm:grid-cols-2 lg:grid-cols-4, so on tablet widths stats appear two-by-two before expanding to a single row on desktop.
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.