FAQ sections
Frequently asked questions; in a grid with or without icons, beside a photo, or in an accordion of plain rows or cards, on the page or the brand colour.
Last updated
Each example is a block: a heading over the questions, laid out as a grid of answers or as an Accordion that opens one at a time, with a panel to get in touch.
npx @ava-ui/apogee add faq/simple-01
Copy is props
Every block in this family takes the same content props (FAQContent in
sections/_shared/faq.ts), with its sample copy as the defaults. A block
ignores the props it has no place for, so you can swap one block for another and
keep the copy. The FAQ section takes the same names for the props they share.
-
eyebrow: The small label above the heading. -
heading: The heading. -
description: Where a block links its description, asterisks mark the link text, which points atprimaryAction.href. -
label: Landmark name when there is no heading. -
items: Questions. -
primaryAction: The contact button (and the description link’s target). -
Pass
nullto hide an optional part, such asdescription={null}. -
Some blocks add props of their own; the top of each block’s file lists them.