# Hero — split (motion)

> The split hero, with its parts appearing one after another when the page loads.

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

## Install

```bash
npx shadcn@latest add @facade/hero-split-motion
```

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

Files: `components/sections/hero-split-motion.tsx`

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

## Usage

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

```tsx
"use client"

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

import { ACTIONS, MediaPlaceholder } from "./content"

export function Demo() {
  return (
    <HeroSplitMotion
      eyebrow="Sections"
      title="Build the page, not the primitives"
      description="Every section takes typed content and slots, so assembling a landing page is composition rather than another round of copy-paste."
      actions={ACTIONS}
      note="Works in any React 19 project."
      media={<MediaPlaceholder label="Product screenshot" />}
      headingLevel={1}
      spacing="md"
    />
  )
}
```
