# Crucible CTA — Animated Section Block for React

> The closing call-to-action band: headline and subhead over a contained, subtle Ember rise, an Anvil-struck primary CTA beside a quiet secondary link, and a one-shot Sparks burst fired the first time the band scrolls into view (IntersectionObserver, once, skipped under reduced motion). All copy and both effects are prop-controlled.

- Page: https://crucibleui.com/components/sections/crucible-cta
- Category: [sections](https://crucibleui.com/components/sections)
- Tier: pro (one-time purchase, see https://crucibleui.com/pricing)
- Engine: motion
- npm dependencies: motion

## Install

```bash
npx shadcn@latest add @crucible/crucible-cta
```

Pro install requires adding the token-bearing `@crucible` registry to components.json (issued at https://crucibleui.com/account after purchase).

Import from `@/components/crucible/crucible-cta`.

## Props (`CrucibleCtaProps`)

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `headline?` | `React.ReactNode` | `"The floor is hot. Pour something."` | Band headline, rendered inside the `<h2>`. |
| `subhead?` | `React.ReactNode` | `"Start free with 200 pours a month — no card, no cooldown."` | Supporting line under the headline. |
| `primaryCta?` | `CrucibleCtaAction` | `{ label: "Fire the forge" }` | Primary call to action, rendered as the Anvil button. |
| `secondaryCta?` | `CrucibleCtaAction` | `{ label: "Talk to the foundry", href: "#" }` | Secondary call to action, rendered as a quiet link (or button when no `href` is given). |
| `embers?` | `boolean` | `true` | Render the subtle Ember background rising inside the band. |
| `burst?` | `boolean` | `true` | Fire a single Sparks burst the first time the band scrolls into view. Skipped entirely under reduced motion. |
| `className?` | `string` | — | Extra classes for the `<section>` root. |

Also accepts: `Omit<React.ComponentPropsWithoutRef<"section">, "children">`.

## Usage example

```tsx
import { CrucibleCta } from "@/components/crucible/crucible-cta";

export default function CrucibleCtaDemo() {
  return (
    <div className="relative isolate flex h-full min-h-[420px] w-full items-stretch justify-center overflow-hidden rounded-xl bg-neutral-950">
      <CrucibleCta />
    </div>
  );
}
```

## Accessibility & performance

Honors `prefers-reduced-motion` with a designed static frame or fade (never a blank box) and passes `className` through.
