# Stats 07

> A simple stats block

A shadcn/ui block from the [@shadcnui-blocks](https://shadcnui-blocks.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/shadcnui-blocks/stats-07).

- Page, with a live preview: https://shadcn.exchange/r/shadcnui-blocks/stats-07
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/shadcnui-blocks/stats-07-light-7e15d68b950b4437.png
- Registry item: https://shadcnui-blocks.com/r/stats-07.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://shadcnui-blocks.com/r/stats-07.json
```

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

## Files

### `src/registry/blocks/shared/stats-07/components/stats.tsx`

```tsx
import { cn } from "@/lib/utils";

function Stats() {
  return (
    <div className="mx-auto max-w-5xl px-6 py-20">
      <h2 className="text-balance text-center font-medium text-4xl tracking-tight md:text-4xl">
        Built with scale in mind
      </h2>
      <p className="mt-3.5 text-center text-muted-foreground text-xl tracking-[-0.015em] sm:text-lg md:text-2xl">
        A quick look at the impact and adoption of our UI components
      </p>

      <div className="mt-14 rounded-2xl border bg-muted p-1">
        <div
          className={cn(
            "grid grid-cols-1 gap-1 overflow-hidden rounded-xl sm:grid-cols-2 md:grid-cols-3",
            "*:rounded *:border *:first:rounded-t-xl *:last:rounded-b-xl sm:*:nth-2:rounded-tr-xl sm:*:first:rounded-tl-xl sm:*:first:rounded-tr md:*:nth-2:rounded-tr md:*:last:rounded-e-xl md:*:last:rounded-bl md:*:first:rounded-s-xl dark:*:border-foreground/20"
          )}
        >
          <div className="bg-background p-10">
            <span className="font-medium text-5xl">70%</span>
            <p className="mt-4 text-foreground/80 text-xl">
              Faster UI development
            </p>
          </div>
          <div className="bg-background p-10">
            <span className="font-medium text-5xl">5x</span>
            <p className="mt-4 text-foreground/80 text-xl">
              Increase in productivity
            </p>
          </div>
          <div className="bg-background p-10 sm:col-span-2 md:col-span-1">
            <span className="font-medium text-5xl">98%</span>
            <p className="mt-4 text-foreground/80 text-xl">
              Customer satisfaction
            </p>
          </div>
        </div>
      </div>
    </div>
  );
}

export default Stats;
```
