# Card list (motion)

> The card list, with cards appearing one after another as you scroll to it.

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

## Install

```bash
npx shadcn@latest add @facade/card-list-motion
```

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

Files: `components/sections/card-list-motion.tsx`

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

## Usage

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

```tsx
"use client"

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

import { POSTS } from "./content"

export function Demo() {
  return (
    <CardListMotion
      eyebrow="Blog"
      title="Latest writing"
      description="Cards use a stretched link, so the accessible name is the title rather than the whole card."
      items={POSTS}
    />
  )
}
```
