# Assay FAQ — Animated Section Block for React

> A disclosure-semantic FAQ accordion: measured height animation via motion, a hairline amber heat-line down the open item's left edge, and a plus indicator that rotates with a brief ember-glow on toggle. Arrow-key/Home/End focus movement between questions, one open at a time by default with an allowMultiple knob, instant open/close with no glow under reduced motion.

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

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

Import from `@/components/crucible/assay-faq`.

## Props (`AssayFaqProps`)

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `heading?` | `string` | `"FAQ"` | Section heading rendered as an h2. |
| `items?` | `AssayFaqItem[]` | `the six Forgewright FAQs` | Question/answer pairs, rendered in order. |
| `allowMultiple?` | `boolean` | — | Allow several items open at once. When false (default), opening an item closes the previous one. |
| `defaultOpenIndex?` | `number` | `0` | Index of the item open on mount. Pass -1 to start fully closed. |
| `accentColor?` | `string` | `"#ff6b35"` | Accent hex for the open item's edge line, hover/open indicator and focus ring. |

Also accepts: `React.ComponentPropsWithoutRef<"section">`.

## Usage example

```tsx
import { AssayFaq } from "@/components/crucible/assay-faq";

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

## Accessibility & performance

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