# FAQ section

A page section of questions and answers, one open at a time. PlankUI component for React 19 and Tailwind CSS v4. Category: Blocks.

## Install

```bash
npx plankui@latest add faq-section
```

## Usage

```tsx
import { FaqSection } from "@/components/ui/faq-section";

<FaqSection items={[{ question: "Do you offer refunds?", answer: "Within 14 days." }]} footer={<a href="/contact">Ask us</a>} />
```

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| items | `{ question, answer }[]` | `required` | The questions and answers. |
| title / description | `ReactNode` | `"Frequently asked questions"` | The heading and a line under it. |
| footer | `ReactNode` |  | A line under the list. |

Source: https://github.com/VectorLabsHQ/plankui/blob/main/components/ui/faq-section.tsx
