Sections
FAQ
Accordion component for Frequently Asked Questions.
The FAQ component renders a list of expandable questions and answers (Accordions), marked up with JSON-LD Schema for SEO.
Usage
const items = [
{ question: "Is this free?", answer: "Yes, it is open source." },
{ question: "Can I use it for commercial projects?", answer: "Absolutely!" }
];
{/* FAQ demo (component not bundled) */}
Example
Props
| Prop | Type | Description |
|---|---|---|
title | string | The section heading (optional). |
items | { question: string, answer: string }[] | Array of Q&A objects. |