FAQ
Two Column FAQ
Questions in two columns of cards. A whole row opens together and the plus folds into a minus.
npx motionsnack add two-column-faqCustomize
Background
<TwoColumnFaq />Props
16 properties
| Property | Type | Default | Description |
|---|---|---|---|
| cta | { label: string; href?: string } | { label: 'Contact support', href: '#' } | Secondary button under the description. Leave the label empty to hide it. |
| items | { question: string; answer?: string }[] | 6 sample questions | Questions and answers, laid out row by row. Use \n in an answer for a new paragraph. |
| buttonColor | string | near-black / near-white in dark | Colour of the round plus button. |
| buttonTextColor | string | white / near-black in dark | Icon colour of the round plus button. |
| buttonRadius | number | fully round | Corner radius of the buttons in px. |
| title | string | 'Frequently asked
questions' | Headline. Use \n for line breaks. |
| description | string | 'Short answers to what people ask most before they sign up. Anything else, we are one message away.' | Paragraph next to the headline. Leave empty to hide it. |
| headerAlign | 'split' | 'center' | 'split' | Headline on the left with the description on the right, or everything centred. |
| columns | number | 2 | Columns on a wide screen. Narrow screens always stack. |
| openItem | number | 1 | Item that starts open, counted from 1. 0 starts with everything closed. |
| syncRows | boolean | true | Open and close a whole row together, so its cards keep the same height. |
| multiple | boolean | false | Let several items (or rows) stay open at once. |
| background | string | '#000000' | Section background. |
| radius | number | 24 | Corner radius of the cards. |
| gap | number | 12 | Space between the cards. |
| duration | number | 0.5 | Seconds a card takes to open or close. |
About Two Column FAQ
A headline, a short description and an outline button sit above a grid of question cards. Clicking a question opens its whole row at once, so the cards next to each other always keep the same height, while the plus in the round button folds into a minus. Rows can also open one card at a time, several rows can stay open, and the grid goes from one to three columns.
What's included
- Cards in one to three columns
- Rows that open together
- Plus folding into a minus
- Multi-paragraph answers
- Split or centred header
- Keyboard and screen reader friendly
- Type
- Animated faq section for Next.js
- Library
- Sections · FAQ
- Stack
- Next.js, React, Tailwind CSS
- Added
- 2026-09-20
- Install
npx motionsnack add two-column-faq