# Steps (motion)

> The steps, appearing in order. Here the order of the animation matches the meaning.

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

## Install

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

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

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

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

## Usage

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

```tsx
"use client"

/**
 * The `steps` 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 { StepsMotion } from "@/components/sections/steps-motion"

import { STEPS } from "./content"

export function Demo() {
  return (
    <StepsMotion
      eyebrow="Getting started"
      title="From nothing to a landing page"
      description="An ordered list, so a screen reader already announces 'step 2 of 3' without the numeral being read twice."
      items={STEPS}
    />
  )
}
```
