FAQ
Corner Glow FAQ
Header on the left, question cards on the right, with a glow resting in the corner of each card. It wanders, follows the pointer and swells when the card opens.
npx motionsnack add corner-glow-faqCustomize
Glow
Background
<CornerGlowFaq />Props
22 properties
| Property | Type | Default | Description |
|---|---|---|---|
| cta | { label: string; href?: string } | { label: 'Ask us anything', 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 | 'Before you ask' | Headline. Use \n for line breaks. |
| description | string | 'Straight answers to the questions we hear on almost every first call.' | Paragraph next to the headline. Leave empty to hide it. |
| layout | 'side' | 'top' | 'side' | Header in a column on the left with the questions on the right, or header above the questions. |
| headerAlign | 'split' | 'center' | 'split' | With the header on top: headline left and description right, or everything centred. |
| 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. |
| maxWidth | number | 1280 | Widest the list gets. |
| glowColor | string | '#2f6bff' | Colour of the glow in the corner of each card. |
| glowSize | number | 40 | Width of the glow, as a share of the card width. |
| intensity | number | 0.9 | Brightness of the glow. |
| drift | number | 1 | How far the glows wander on their own. 0 keeps them still. |
| speed | number | 1 | How fast the glows wander. |
| followPointer | boolean | true | The glow slides after the pointer while a card is hovered. |
| 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 Corner Glow FAQ
A headline, a short description and an outline button sit in a column on the left; the question cards stack on the right. A soft glow rests in the bottom left corner of every card and slowly wanders on its own. Hover a card and the glow slides after the pointer; open it and the glow swells while the plus folds into a minus and the answer slides open. The header can also sit on top, and glow colour, size, brightness and motion are props.
What's included
- Glow in the corner of every card
- Glow follows the pointer on hover
- Plus folding into a minus
- 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 corner-glow-faq