crucıble

Forge Hero

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.

motionpro

Installation

CLI

npx shadcn@latest add @crucible/forge-hero

Manual — install dependencies, then copy the source

npm install motion

Props

PropTypeDefaultDescription
headlineReact.ReactNodeShip <Gild>metal-grade</Gild> softwareHero headline, rendered inside the <h1>. Accepts a node so a key word can carry a treatment (the default wraps "metal-grade" in Gild).
subheadReact.ReactNodethe Forgewright hero subheadSupporting line under the headline.
primaryCtaForgeHeroCta{ label: "Fire the forge" }Primary call to action, rendered as the Anvil button.
secondaryCtaForgeHeroCta{ label: "Read the docs", href: "#" }Secondary call to action, rendered as a quiet link (or button when no href is given).
navItemsForgeHeroNavItem[]Product · Foundry · Pricing · Docs · ChangelogHeader navigation links.
logoReact.ReactNodethe Forgewright anvil-struck "F" mark + wordmarkLogo / wordmark node shown at the left of the header row.
backgroundReact.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.
classNamestringExtra classes for the <section> root.
Also accepts all props of Omit<React.ComponentPropsWithoutRef<"section">, "children">they pass through to the underlying element.

Honors prefers-reduced-motion with a designed static fallback, and passes className through.