# Stats (motion)

> The stats, with numbers appearing one after another as you scroll to them.

Facade UI item `stats-motion` (block, motion).
Docs page: https://facadeui.dev/components/stats-motion · Registry JSON: https://facadeui.dev/r/stats-motion.json

## Install

```bash
npx shadcn@latest add @facade/stats-motion
```

Or by URL: `npx shadcn@latest add https://facadeui.dev/r/stats-motion.json`. The CLI also installs what it needs: @facade/motion-primitives, @facade/stats.

Files: `components/sections/stats-motion.tsx`

Usage example as an installable item: `npx shadcn@latest add @facade/stats-motion-demo` (lands in components/examples/).

## Usage

The source of the preview on the docs page. `./content` holds sample data.

```tsx
"use client"

/**
 * The `stats` demo, with the motion variant swapped in.
 *
 * Identical props: the motion variant only changes which slot components
 * the static section renders through.
 *
 * `"use client"` is required here, not incidental: the motion variant is a
 * client component, and icon components cannot cross a server-to-client
 * boundary as props. See the note on `IconComponent`.
 */

import { StatsMotion } from "@/components/sections/stats-motion"

import { STATS } from "./content"

export function Demo() {
  return (
    <StatsMotion
      eyebrow="By the numbers"
      title="What the checks actually cover"
      items={STATS}
      variant="card"
    />
  )
}
```
