# Forge Hero — Animated Section Block for React

> The flagship landing hero: logo + nav header, a gilded headline and subhead over the Molten shader pour, and an Anvil-struck primary CTA beside a quiet secondary link. Every content knob is a prop — the Forgewright copy is only the default — and the background node is fully swappable.

- Page: https://crucibleui.com/components/sections/forge-hero
- 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/forge-hero
```

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

Import from `@/components/crucible/forge-hero`.

## Props (`ForgeHeroProps`)

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `headline?` | `React.ReactNode` | `Ship <Gild>metal-grade</Gild> software` | Hero headline, rendered inside the `<h1>`. Accepts a node so a key word can carry a treatment (the default wraps "metal-grade" in `Gild`). |
| `subhead?` | `React.ReactNode` | `the Forgewright hero subhead` | Supporting line under the headline. |
| `primaryCta?` | `ForgeHeroCta` | `{ label: "Fire the forge" }` | Primary call to action, rendered as the Anvil button. |
| `secondaryCta?` | `ForgeHeroCta` | `{ label: "Read the docs", href: "#" }` | Secondary call to action, rendered as a quiet link (or button when no `href` is given). |
| `navItems?` | `ForgeHeroNavItem[]` | `Product · Foundry · Pricing · Docs · Changelog` | Header navigation links. |
| `logo?` | `React.ReactNode` | `the Forgewright anvil-struck "F" mark + wordmark` | Logo / wordmark node shown at the left of the header row. |
| `background?` | `React.ReactNode` | `<Molten />` | Background node rendered behind the content. It should position itself `absolute inset-0 -z-10` (every Crucible background does). Pass `null` for a plain dark hero. |
| `className?` | `string` | — | Extra classes for the `<section>` root. |

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

## Usage example

```tsx
import { ForgeHero } from "@/components/crucible/forge-hero";

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

## Accessibility & performance

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