Skip to main content
BlocksStatsCentred heading with four-up big numbers

shadcn/ui Stats block for Base UICentred heading with four-up big numbers

Borderless marketing stats section for shadcn/ui with a centred eyebrow, heading and lead above a four-column row of large tabular numbers and short labels. Uses a semantic dl with theme tokens only and collapses to two columns on small screens. A compact way to prove scale right under a hero.

Free@shadcnpro/base/stats-section-01

Preview

Installation

npx shadcn@latest add @shadcnpro/base/stats-section-01

First time? Add the @shadcnpro registry to components.json as shown in Installation. Free blocks install without a license key.

Let your AI editor install it

The shadcn/ui Pro MCP server lets Cursor, Claude Code and VS Code find and install blocks like Centred heading with four-up big numbers from one prompt. It is included in every Pro plan.

Copy the code

Paste it into components/blocks/stats-section-01.tsx.

components/blocks/stats-section-01.tsx
'use client';

const stats = [
  { value: '2,400', label: 'teams ship with Lumen' },
  { value: '18M', label: 'components generated' },
  { value: '99.98%', label: 'uptime over the last 12 months' },
  { value: '140', label: 'countries with active workspaces' },
];

/**
 * Centred heading and lead above a borderless four-up row of big tabular numbers with short labels.
 */
export default function StatsSection01() {
  return (
    <section className="w-full py-16 sm:py-24">
      <div className="mx-auto w-full max-w-6xl px-6">
        <div className="mx-auto max-w-2xl text-center">
          <p className="font-medium text-primary text-sm">Lumen by the numbers</p>
          <h2 className="mt-2 text-balance font-semibold text-3xl text-foreground tracking-tight sm:text-4xl">
            Design systems that ship, at a scale you can measure
          </h2>
          <p className="mt-4 text-pretty text-lg text-muted-foreground">
            From a single Figma frame to production React, Lumen turns design
            intent into code your engineers actually keep. Here is what that
            looks like across every team on the platform.
          </p>
        </div>

        <dl className="mt-14 grid grid-cols-2 gap-x-6 gap-y-10 text-center md:grid-cols-4">
          {stats.map((stat) => (
            <div className="flex flex-col gap-2" key={stat.label}>
              <dd className="order-first font-semibold text-4xl text-foreground tabular-nums tracking-tight sm:text-5xl">
                {stat.value}
              </dd>
              <dt className="text-pretty text-muted-foreground text-sm leading-6">
                {stat.label}
              </dt>
            </div>
          ))}
        </dl>
      </div>
    </section>
  );
}

Use it

Import it where you need it and update the import path to match your project.

Usage
import StatsSection01 from '@/components/blocks/stats-section-01';

export default function Page() {
  return <StatsSection01 />;
}

Overview

Centred heading with four-up big numbers is a free stats block for shadcn/ui and Base UI. It is built from plain markup and Tailwind CSS, and installs as a single file you own and can edit.

It only uses semantic tokens such as bg-background, text-muted-foreground and border-border, so it follows your theme, radius and fonts and switches with dark mode. It is responsive from desktop to mobile; the width controls above the preview show each size. The same layout is in the shadcn/ui Pro Figma kit, so design and code start from one source.

Category
Stats
Component library
Base UI (@base-ui/react)
Also available for
Radix UI, React Aria
Built with
Plain markup and Tailwind CSS
npm packages
None
Files
components/blocks/stats-section-01.tsx
Access
Free, installs without a license key

Frequently asked questions

Pricing, installation and Base UI details for Centred heading with four-up big numbers.