# Metrics 3

> metrics

A shadcn/ui block from the [@cnippet-blocks](https://blocks.cnippet.dev/?utm_source=shadcn.exchange) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/cnippet-blocks/metrics-3).

- Page, with a live preview: https://shadcn.exchange/r/cnippet-blocks/metrics-3
- Screenshot: https://shadcn.exchange/shot/cnippet-blocks/metrics-3/light.png
- Registry item: https://blocks.cnippet.dev/r/metrics-3.json
- Categories: metrics
- Listed: 2026-11-01, source last changed 2026-11-01

## Install

```bash
npx shadcn@latest add https://shadcn.exchange/r/cnippet-blocks/metrics-3.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Files

### `registry/default/sections/metrics-3.tsx`

```tsx
//biome-ignore-all lint/suspicious/noArrayIndexKey:<>

"use client";

export default function Component() {
  const stats = [
    {
      label: "Team Members",
      value: "250+",
    },
    {
      label: "Projects Completed",
      value: "1,200+",
    },
    {
      label: "Client Retention",
      value: "98%",
    },
    {
      label: "Awards Won",
      value: "42",
    },
  ];

  return (
    <div className="w-full bg-white px-4 py-16 md:py-20 dark:bg-background">
      <div className="mx-auto max-w-6xl">
        <div className="grid gap-8 md:grid-cols-2 lg:gap-12">
          {/* Left: Content */}
          <div className="flex flex-col justify-center">
            <h2 className="mb-4 font-normal text-3xl text-gray-900 md:text-4xl lg:text-5xl dark:text-gray-100">
              Built by experts, trusted by thousands
            </h2>
            <p className="text-gray-600 text-sm leading-relaxed sm:text-base dark:text-gray-400">
              Our team has been delivering exceptional results for over a
              decade. We combine technical expertise with creative innovation to
              help businesses thrive in the digital age.
            </p>
          </div>

          {/* Right: Stats Grid */}
          <div className="grid grid-cols-2 gap-6 sm:gap-8">
            {stats.map((stat, index) => (
              <div
                className="rounded-xl bg-gray-50 p-6 dark:bg-neutral-900"
                key={index}
              >
                <div className="mb-2 font-semibold text-3xl text-gray-900 tracking-tight sm:text-4xl dark:text-gray-100">
                  {stat.value}
                </div>
                <p className="text-gray-600 text-xs sm:text-sm dark:text-gray-400">
                  {stat.label}
                </p>
              </div>
            ))}
          </div>
        </div>
      </div>
    </div>
  );
}
```
