FAQ
One Column FAQ
Questions in one column of cards. The open card lifts and the plus folds into a minus.
npx motionsnack add one-column-faqCustomize
Background
<OneColumnFaq />Props
15 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. 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. |
| openItem | number | 1 | Item that starts open, counted from 1. 0 starts with everything closed. |
| multiple | boolean | false | Let several items stay open at once. |
| maxWidth | number | 1280 | Widest the list gets. |
| 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 One Column FAQ
A headline, a short description and an outline button sit above a single column of question cards. Clicking a question slides its answer open while the plus in the round button folds into a minus. One card or several can stay open, the header can be split or centred and the column width is a prop. It is the single-column sibling of Two Column FAQ.
What's included
- Cards in one column
- Plus folding into a minus
- One or several cards open
- 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 one-column-faq