Fold List
A question and answer accordion with a smooth fold, a plus that turns into a minus, a tinted open row with an accent bar, and a search field that highlights matches and opens the rows they appear in.
pixikit.com/docs/blocks/faq/fold-list
Customize
Multiple
Searchable
Layout
Numbered
Props
13| Name | Type | Default | Description |
|---|---|---|---|
eyebrow | string | "FAQ" | Small label above the heading. Leave empty for none. |
heading | string | "Questions, answered" | The heading of the section. Leave empty for none. |
lead | string | "Short answers to what people ask us most." | The line under the heading. Leave empty for none. |
items | FoldListItem[] | DEFAULT_ITEMS | The questions and answers, one row each. |
multiple | boolean | false | Let several rows stay open; off, opening one closes the others. |
defaultOpen | number | null | 0 | The row that is open at first, or null for none. |
searchable | boolean | true | Show the search field. |
searchPlaceholder | string | "Search questions" | Placeholder and label of the search field. |
emptyText | string | "No question matches" | Shown when nothing matches. |
countLabel | string | "Questions: {n}" | The line that announces the result count; {n} is the number. |
layout | "stack" | "split" | "split" | Heading beside the list in a wide container, or everything in one centred column. |
numbered | boolean | false | Show a small index before each question. |
className | string | None |