Section: FAQ

Render a collapsible accordion of frequently asked questions. Answers support Markdown formatting including bold, links, and lists.

Props

NameTypeRequiredDescriptionDefault
labelstringNoSmall label above heading
headingstringNoSection heading
descriptionstringNoSection description
faqsarrayYesArray of FAQ objects
faqs[].questionstringYesThe question text
faqs[].answerstringYesThe answer (supports markdown)
classNamestringNoCustom CSS class

Minimal Example

{ "type": "faq", "faqs": [ { "question": "What is PageGun?", "answer": "PageGun is an API-first site builder." } ] }

Full Example

{ "type": "faq", "label": "FAQ", "heading": "Frequently Asked Questions", "description": "Everything you need to know about PageGun.", "faqs": [ { "question": "What is PageGun?", "answer": "PageGun is a programmatic site builder that lets you create landing pages, blogs, docs, and directories via API. It's designed for developers and AI agents." }, { "question": "Can I use my own domain?", "answer": "Yes! Connect a custom domain with automatic SSL provisioning. You can use [Full Host mode](/docs/concepts/hosting) for a dedicated site or [Rewrite mode](/docs/concepts/hosting) to embed pages in your existing app." }, { "question": "What page types are supported?", "answer": "PageGun supports 4 page types:\n\n- **page** — Landing pages with JSON sections\n- **article** — Blog posts in Markdown\n- **docs** — Documentation with navigation\n- **item** — Directory entries with custom attributes" }, { "question": "Is there a free plan?", "answer": "Yes, PageGun offers a free tier with up to 10 pages per project." }, { "question": "How does Data Mode work?", "answer": "Data Mode turns PageGun into a headless CMS. Content is AES-256-GCM encrypted and stored on a public CDN. Your app fetches and decrypts it client-side. [Learn more](/docs/concepts/hosting)." } ] }

SEO Benefits

FAQ sections can improve your search rankings:

  • Rich snippets: Search engines may display FAQ items directly in search results
  • Long-tail keywords: Questions naturally match how people search
  • Page dwell time: Expandable content keeps users engaged

Tips for SEO-Optimized FAQs

  1. Use real questions your users actually ask (check support tickets, search queries)
  2. Include keywords naturally in both questions and answers
  3. Link to detailed pages in answers for deeper engagement
  4. Keep answers concise — 2-3 sentences for simple questions, up to a short paragraph for complex ones
  5. Order by relevance — put the most common questions first

Writing Tips

  • Write questions in the user's voice — "How do I..." not "How does one..."
  • Answer directly — start with the answer, then add context
  • Use markdown in answers: bold key points, add links to related content, use lists for multi-part answers
  • 5-8 FAQs is the sweet spot. Too few looks empty, too many is overwhelming

Placement

Usually placed near the bottom of a landing page, before the final CTA section. FAQs help address remaining objections before the user takes action.

© 2026 PageGun. All rights reserved.