FAQ
Glow Border FAQ
Numbered accordion where the open question is wrapped in a glowing border whose colours travel around the card.
npx motionsnack add glow-border-faqCustomize
Accent
Accent To
Background
<GlowBorderFaq />Props
20 properties
| Property | Type | Default | Description |
|---|---|---|---|
| cta | { label: string; href?: string } | { label: 'Ask something else', href: '#' } | Secondary button under the description. Leave the label empty to hide it. |
| items | { question: string; answer?: string }[] | 5 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 | 'Questions,
answered' | Headline. Use \n for line breaks. |
| description | string | 'Everything teams usually ask before we start. If yours is missing, write to us and we will get back within a day.' | Paragraph under the headline. Leave empty to hide it. |
| layout | 'side' | 'top' | 'side' | Header in a column next to the questions, or centred above them. |
| openItem | number | 2 | Item that starts open, counted from 1. 0 starts with everything closed. |
| multiple | boolean | false | Let several items stay open at once. |
| showNumbers | boolean | true | Number badge in front of each question. |
| accent | string | '#0044ff' | First colour of the glowing border around the open item. |
| accentTo | string | '#9cc2ff' | Second colour of the glowing border. |
| background | string | '#000000' | Section background. |
| borderWidth | number | 1.5 | Width of the glowing border. |
| glow | number | 0.5 | Soft glow around the open item. 0 turns it off. |
| borderSpeed | number | 8 | Seconds the colours take to travel once around the border. 0 keeps them still. |
| radius | number | 24 | Corner radius of the items. |
| gap | number | 8 | Space between the items. |
| duration | number | 0.5 | Seconds an item takes to open or close. |
About Glow Border FAQ
A headline, a short description and an outline button sit next to a numbered list of questions in rounded cards. Opening a question lifts its card, turns the plus button into a close button and wraps the card in a two-colour border that slowly travels around it with a soft glow. The answer slides open and can run over several paragraphs. The header can sit on the side or centred on top.
What's included
- Numbered accordion cards
- Glowing border that travels around the open item
- Plus button turning into close
- Multi-paragraph answers
- Header on the side or on top
- 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 glow-border-faq