FaqSection block renders a two-column split: the section heading sticks in the left column while an accordion of questions and Portable Text answers scrolls in the right column. Each item is numbered sequentially. Use it for program FAQs, sponsor Q&A, or any structured question-and-answer content.
Props
Optional section heading rendered as a sticky
<h2> in the left column at 4xl–5xl. Stays visible as the user scrolls through the accordion items.Array of FAQ item objects. At least one item is required. Each item renders as an accordion row with a numbered prefix.
Background colour token. Defaults to
white.Vertical padding override. Defaults to
default.Content container max-width. Defaults to
default.Additional CSS classes.
HTML
id for anchor targeting.FaqItem fields
Each entry initems is a faqItem object:
_key is used as the accordion item id for ARIA purposes. Answers rendered from Portable Text are wrapped in a prose container; plain-string answers fall back to a <p> tag.
Usage in Sanity Studio
- Add an FAQ Section block to a page.
- Set an optional Heading (e.g. “Frequently Asked Questions”).
- In Items, click Add item for each question:
- Enter the Question text (required).
- Write the Answer in the Portable Text editor (supports bold, links, lists).
- Drag items to reorder — the numbered prefix updates automatically.
Variants / Options
This block has novariant field. The layout is always a SectionSplit with a sticky heading on the left and an accordion on the right.