Marketing Sections
v1.0.0Added in 1.6.0
Frequently asked questions for a marketing page: an accordion, a split layout, an open grid or expandable cards, with topics and search.
Click or tap a question to open its answer (Enter and Space on the keyboard, arrow keys move between questions); in single mode opening one closes the other. The topics row filters the list: on phones it scrolls sideways, arrows move between topics. With search on, typing filters questions and answers live, opens every answer that holds the words and marks each match; when nothing matches, an empty state offers to search all topics or contact the team. Links inside answers are underlined. In the split layout the heading and contact card stay in view while the questions scroll on desktop. The grid layout shows every answer at once, one column on phones. The cards layout gives each question its own raised card that expands in place (a button with aria-expanded controlling its answer region), topic chips with counts on top, two columns from 768px and one on phones.
npx wingo-ui@latest add faq-section