FAQ Blocks for Astro
Prebuilt Astro FAQ sections for business and product pages. Explore question and answer layouts with expandable content and editable source.
Split
Keep the introduction beside the question list.
bunx --bun shadcn@latest add @gnostic/faqs-1npx shadcn@latest add @gnostic/faqs-1pnpm dlx shadcn@latest add @gnostic/faqs-1Stacked panels
Display questions in native disclosure panels.
bunx --bun shadcn@latest add @gnostic/faqs-stacked-panelsnpx shadcn@latest add @gnostic/faqs-stacked-panelspnpm dlx shadcn@latest add @gnostic/faqs-stacked-panelsCentered
Center the introduction above the answers.
bunx --bun shadcn@latest add @gnostic/faqs-2npx shadcn@latest add @gnostic/faqs-2pnpm dlx shadcn@latest add @gnostic/faqs-2Grouped
Group related questions so readers can find the right topic.
bunx --bun shadcn@latest add @gnostic/faqs-3npx shadcn@latest add @gnostic/faqs-3pnpm dlx shadcn@latest add @gnostic/faqs-3Compact
Keep a short question list in a compact section.
bunx --bun shadcn@latest add @gnostic/faqs-4npx shadcn@latest add @gnostic/faqs-4pnpm dlx shadcn@latest add @gnostic/faqs-4Image split
bunx --bun shadcn@latest add @gnostic/faqs-image-splitnpx shadcn@latest add @gnostic/faqs-image-splitpnpm dlx shadcn@latest add @gnostic/faqs-image-splitDivided question list
Supply your own content. The section uses the selected project preset.
bunx --bun shadcn@latest add @gnostic/faqs-divided-listnpx shadcn@latest add @gnostic/faqs-divided-listpnpm dlx shadcn@latest add @gnostic/faqs-divided-listcontentDividedFaqsContent
Section content.
DividedFaqsContentclass?string
Classes added to the root.
stringEditorial faqs
Use this section for the faqs part of a studio site.
bunx --bun shadcn@latest add @gnostic/faqs-editorial-splitnpx shadcn@latest add @gnostic/faqs-editorial-splitpnpm dlx shadcn@latest add @gnostic/faqs-editorial-splitSee serif accent font setup when installing this section.
Bordered disclosures
bunx --bun shadcn@latest add @gnostic/faqs-bordered-disclosuresnpx shadcn@latest add @gnostic/faqs-bordered-disclosurespnpm dlx shadcn@latest add @gnostic/faqs-bordered-disclosuresChoose a faqs layout
Choose an FAQ block for specific questions that remain after the main explanation. Keep essential pricing or service terms in visible page content as well.
Pass content from Astro
Pass stable IDs, questions, and answers in the faqs array. Use the optional buttons for support or further details. The block receives content; it does not generate answers or add a support service.
Responsive layout and images
Check long questions, expanded answers, and keyboard use on a phone. Disclosure controls need visible focus and a usable target size. These sections are primarily text; images inside answers should explain a step and fit the panel width.
Compose the next section
Place the FAQ near Pricing, Services, or Contact according to the questions it resolves.
