# Foundry — Page Template for React

> A complete one-page landing template: hero, stats, features, testimonials, pricing, FAQ, closing CTA, and footer assembled from the seven Crucible section blocks. Rebrand it entirely through props — every section's full API is exposed, and any section can be dropped.

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

## Install

```bash
npx shadcn@latest add @crucible/foundry
```

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

Import from `@/components/crucible/foundry`.

## Props (`FoundryTemplateProps`)

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `hero?` | `SectionConfig<ForgeHeroProps>` | — | Hero (nav + headline + CTA over a shader pour). `false` hides it. |
| `stats?` | `SectionConfig<IngotStatsProps>` | — | Animated count-up stat band. `false` hides it. |
| `features?` | `SectionConfig<FoundryFeaturesProps>` | — | Feature grid. `false` hides it. |
| `testimonials?` | `SectionConfig<MillstreamSocialProps>` | — | Testimonial marquee. `false` hides it. |
| `pricing?` | `SectionConfig<SmelteryPricingProps>` | — | Pricing tiers. `false` hides it. |
| `faq?` | `SectionConfig<AssayFaqProps>` | — | FAQ accordion. `false` hides it. |
| `cta?` | `SectionConfig<CrucibleCtaProps>` | — | Closing call-to-action. `false` hides it. |
| `footer?` | `React.ReactNode \| false` | `a minimal single-row footer with the brand name and muted links; pass a node to replace it or `false` to omit` | Footer content. |
| `brand?` | `string` | — | Brand name used by the default footer. |

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

## Usage example

```tsx
import { FoundryTemplate } from "@/components/crucible/foundry";

export default function FoundryTemplateDemo() {
  return (
    <div className="relative isolate h-[560px] w-full overflow-y-auto overflow-x-hidden overscroll-contain rounded-xl bg-neutral-950">
      <FoundryTemplate />
    </div>
  );
}
```

## Accessibility & performance

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