Marketing sectionsFaq

Open in Create
Search
astronomic.dev

Faq

Pro

To build your own questions layout: a section heading and questions that each open on their own. For a ready layout, use FaqList or FaqSplit.

File
Faq.astro
Group
Marketing sections
Kind
Static: no JavaScript
Examples
1
import Faq from "@astronomic/ui-pro/components/Faq.astro";

Examples

Drag the orange handle to set the width. Frames get real breakpoints.

  • Static
  • Interactive
  • Framed

Slots

The section is a shell: the eyebrow, the heading and the text always show in that order, then the questions in the default slot, one FaqItem each. The shell sets the type and the gaps; the recipes lay out the questions. FaqList and FaqSplit are recipes built on it. childHeadingTag() in lib/heading.ts gives the questions' level.

main.astro
Minimal · Light

Waitlist

Be first in line

Join the waitlist and we'll email you the moment it's out.

You'll also get our newsletter: new themes, plugins and guides. Unsubscribe any time.