---
title: FAQ Blocks for Astro
description: "Prebuilt Astro FAQ sections for business and product pages. Explore question and answer layouts with expandable content and editable source."
seo:
    title: "Astro FAQ blocks: examples and source"
sidebar:
    label: "FAQs"
related:
    - /blocks
    - /components
    - /docs/astro-business-websites
---

## Split

Keep the introduction beside the question list.

```astro
---
import FaqBlock from "@/components/blocks/faqs/faqs-1.astro"
---

<FaqBlock
  title="Before you book a studio visit"
  description="Sample answers for a fictional repair studio. Replace these details with the terms of your own service."
  buttons={[
    {
      label: "Open the sample plan",
      href: "https://example.com/fieldwork/projects",
      variant: "default",
    },
    {
      label: "Read the planning guide",
      href: "https://example.com/fieldwork/guide",
      variant: "outline",
    },
  ]}
  faqs={[
    {
      id: "faq-1-1",
      question: "What should I bring to an assessment?",
      answer:
        "Bring the item and any loose parts. Add a short note about the damage and how you use the item.",
    },
    {
      id: "faq-1-2",
      question: "Can I send photographs before booking?",
      answer:
        "Send clear photographs of the whole item and the damaged area. The studio still needs to check the item in person.",
    },
    {
      id: "faq-1-3",
      question: "How do I change an appointment?",
      answer:
        "Reply to your booking email with the date you want. The studio will confirm a new time if one is available.",
    },
    {
      id: "faq-1-4",
      question: "When will I receive an estimate?",
      answer:
        "The studio prepares an estimate after the assessment. Work starts only after you accept the proposed repair.",
    },
  ]}
/>
```

```sh
bunx --bun shadcn@latest add @gnostic/faqs-1
```

## Centered

Center the introduction above the answers.

```astro
---
import Faqs2Block from "@/components/blocks/faqs/faqs-2.astro"
---

<Faqs2Block
  title="Planning your repair appointment"
  description="Sample answers for a fictional repair studio. Replace these details with the terms of your own service."
  buttons={[
    {
      label: "Open the sample plan",
      href: "https://example.com/fieldwork/projects",
      variant: "default",
    },
    {
      label: "Read the planning guide",
      href: "https://example.com/fieldwork/guide",
      variant: "outline",
    },
  ]}
  faqs={[
    {
      id: "faq-2-1",
      question: "What should I bring to an assessment?",
      answer:
        "Bring the item and any loose parts. Add a short note about the damage and how you use the item.",
    },
    {
      id: "faq-2-2",
      question: "Can I send photographs before booking?",
      answer:
        "Send clear photographs of the whole item and the damaged area. The studio still needs to check the item in person.",
    },
    {
      id: "faq-2-3",
      question: "How do I change an appointment?",
      answer:
        "Reply to your booking email with the date you want. The studio will confirm a new time if one is available.",
    },
    {
      id: "faq-2-4",
      question: "When will I receive an estimate?",
      answer:
        "The studio prepares an estimate after the assessment. Work starts only after you accept the proposed repair.",
    },
  ]}
/>
```

```sh
bunx --bun shadcn@latest add @gnostic/faqs-2
```

## Grouped

Group related questions so readers can find the right topic.

```astro
---
import Faqs3Block from "@/components/blocks/faqs/faqs-3.astro"
---

<Faqs3Block
  badge="Sample project"
  title="Questions about collection and payment"
  description="Sample answers for a fictional repair studio. Replace these details with the terms of your own service."
  faqs={[
    {
      id: "faq-3-1",
      question: "What should I bring to an assessment?",
      answer:
        "Bring the item and any loose parts. Add a short note about the damage and how you use the item.",
    },
    {
      id: "faq-3-2",
      question: "Can I send photographs before booking?",
      answer:
        "Send clear photographs of the whole item and the damaged area. The studio still needs to check the item in person.",
    },
    {
      id: "faq-3-3",
      question: "How do I change an appointment?",
      answer:
        "Reply to your booking email with the date you want. The studio will confirm a new time if one is available.",
    },
    {
      id: "faq-3-4",
      question: "When will I receive an estimate?",
      answer:
        "The studio prepares an estimate after the assessment. Work starts only after you accept the proposed repair.",
    },
  ]}
/>
```

```sh
bunx --bun shadcn@latest add @gnostic/faqs-3
```

## Compact

Keep a short question list in a compact section.

```astro
---
import Faqs4Block from "@/components/blocks/faqs/faqs-4.astro"
---

<Faqs4Block
  title="A few details before your visit"
  faqs={[
    {
      id: "faq-4-1",
      question: "What should I bring to an assessment?",
      answer:
        "Bring the item and any loose parts. Add a short note about the damage and how you use the item.",
    },
    {
      id: "faq-4-2",
      question: "Can I send photographs before booking?",
      answer:
        "Send clear photographs of the whole item and the damaged area. The studio still needs to check the item in person.",
    },
    {
      id: "faq-4-3",
      question: "How do I change an appointment?",
      answer:
        "Reply to your booking email with the date you want. The studio will confirm a new time if one is available.",
    },
    {
      id: "faq-4-4",
      question: "When will I receive an estimate?",
      answer:
        "The studio prepares an estimate after the assessment. Work starts only after you accept the proposed repair.",
    },
  ]}
/>
```

```sh
bunx --bun shadcn@latest add @gnostic/faqs-4
```

## Faqs Portfolio

An independent section from the Portfolio template. Supply its content through props.

```astro
---
import Block from "@/components/blocks/faqs/faqs-portfolio.astro"
import asset0 from "../../../../../packages/templates/sable/site/src/assets/sable/salon-interior.png"
const content = {
  title: "Before your visit.",
  description: "A few answers to help you choose an appointment.",
  questions: [
    {
      question: "I am not sure which service to book.",
      answer:
        "Start with a consultation. Tell us what you would like to change and we can help you choose the right appointment.",
    },
    {
      question: "Do you work with different hair textures?",
      answer:
        "The sample service menu includes cuts, curls, and texture care. Add your team’s specialties and consultation needs before publishing your site.",
    },
    {
      question: "What do the starting prices include?",
      answer:
        "These are sample prices for this template. A salon can use this space to explain what is included and when a longer appointment costs more.",
    },
    {
      question: "Can I ask for a quiet appointment?",
      answer:
        "Yes. Let us know when you get in touch. You can still ask questions at any point.",
    },
    {
      question: "How do I book or change an appointment?",
      answer:
        "Use the contact details below. This demo has no live booking service; connect your own booking link before launch.",
    },
  ],
  image: {
    src: asset0,
    alt: "Warm daylight across the chairs and mirrors at Sable",
  },
  tags: ["Cuts", "Colour", "Styling"],
  contact: {
    label: "Plan your visit",
    href: "#visit",
    email: "hello@example.com",
    available: "Cuts · Colour · Care",
  },
}
---

<Block {...content} />
```

```sh
bunx --bun shadcn@latest add @gnostic/faqs-portfolio
```

## Divided question list

Supply your own content. The section uses the selected project preset.

```astro
---
import Block from "@/components/blocks/faqs/faqs-divided-list/faqs-divided-list.astro"
import type { DividedFaqsContent } from "@/components/blocks/faqs/faqs-divided-list/types"
const content = {
  label: "Before we start",
  title: "Good Questions. Clear Answers.",
  description: "Have a workflow in mind?",
  button: {
    label: "Tell us about it",
    href: "/contact",
  },
  questions: [
    {
      title: "What should we automate first?",
      description:
        "Choose a task that repeats often, has clear inputs, and has a result you can check. Intake, status updates, and internal search are useful places to look. We map the work before recommending a tool.",
    },
    {
      title: "Will this work with our current tools?",
      description:
        "We check the available APIs and permissions during discovery. Where a supported connection exists, we use it. If a tool has limits, we explain the options before we scope the build.",
    },
    {
      title: "Where do people stay in the process?",
      description:
        "You decide which actions need approval. We can prepare a draft, suggest a route, or flag a result while your team makes the final call. Each workflow also has an owner and a manual fallback.",
    },
    {
      title: "What does a first project include?",
      description:
        "The pilot includes a discovery session, one defined workflow, testing, documentation, and launch support. We agree on the inputs, outputs, and success measure before work starts.",
    },
    {
      title: "What happens after launch?",
      description:
        "We review the first runs with your team and hand over clear instructions. Ongoing care can cover failed runs, tool changes, usage reports, and agreed improvements as your needs change.",
    },
  ],
} satisfies DividedFaqsContent
---

<Block {content} />
```

```sh
bunx --bun shadcn@latest add @gnostic/faqs-divided-list
```

<AutoTypeTable
    path="../../packages/ui/src/components/blocks/faqs/faqs-divided-list/types.ts"
    name="DividedFaqsProps"
/>

## Editorial faqs

Use this section for the faqs part of a studio site.

```astro
---
import Section from "@/components/blocks/faqs/faqs-agency.astro"
const section = {
  label: "Before we begin",
  title: "A little",
  accent: "more detail",
  faqs: [
    {
      question: "Who is Foldline designed to work with?",
      answer:
        "Our focus is architecture practices, interior design studios, furniture makers, and considered places to stay. The work can begin with a new studio or an established team ready for a clearer story.",
    },
    {
      question: "How much time should we allow?",
      answer:
        "A focused identity usually needs four to six weeks. A complete brand and website often needs eight to twelve. We agree on the scope, content needs, and review dates before starting.",
    },
    {
      question: "Can we keep our current identity?",
      answer:
        "Yes. A website can build on the identity you already have. We review the parts that work, fill any gaps, and set a clear direction for the digital experience.",
    },
    {
      question: "Will we be able to add new projects ourselves?",
      answer:
        "Yes. We set up a clear editing structure and walk your team through it. You can add photographs, project notes, and new pages without changing the design system.",
    },
    {
      question: "What should we bring to the first conversation?",
      answer:
        "A short note about your practice, a few recent projects, and what you want to change is enough. If you have a target launch date or budget range, include that too.",
    },
  ],
}
---

<Section {...section} />
```

```sh
bunx --bun shadcn@latest add @gnostic/faqs-agency
```

<AutoTypeTable
    path="../../packages/ui/src/components/blocks/shared/agency/types.ts"
    name="AgencyFaqsProps"
/>

See [serif accent font setup](/docs/installation#serif-accent-fonts-for-editorial-blocks) when installing this section.

## Home services faqs

```astro
---
import Block from "@/components/blocks/faqs/faqs-remodify.astro"
const content = {
  eyebrow: "Plan With Confidence",
  title: "Good Questions.",
  description: "Practical answers before you start a home remodel.",
  questions: [
    {
      title: "Which remodeling projects can you help with?",
      description:
        "We focus on kitchens, bathrooms, whole-home renovations, and interior updates. Share your goals and photos of the space so we can discuss whether the project is a good fit.",
    },
    {
      title: "Do you work outside Raleigh?",
      description:
        "Our sample service area includes Cary, Apex, Morrisville, Garner, Wake Forest, Holly Springs, and Knightdale. Send your address with your inquiry so the team can confirm availability.",
    },
    {
      title: "What should I prepare for the first conversation?",
      description:
        "Bring a short list of what works, what does not, and what you want to change. Photos, rough dimensions, inspiration images, a budget range, and your preferred start date are useful.",
    },
    {
      title: "How much does a home remodel cost?",
      description:
        "Cost depends on the size of the space, materials, layout changes, and the condition of the home. A site review and written scope help produce an estimate you can assess. Ask which allowances and exclusions are included.",
    },
    {
      title: "How long does a kitchen or bathroom remodel take?",
      description:
        "Design decisions, permits, material lead times, and the work itself all affect the schedule. The project plan should separate preparation from construction and identify any periods when a room cannot be used.",
    },
    {
      title: "Can I stay at home during the renovation?",
      description:
        "It depends on the work and access to essential rooms. Discuss dust control, work hours, pets, temporary cooking arrangements, and bathroom access before the start date. Some projects need temporary accommodation.",
    },
    {
      title: "Who handles permits and inspections?",
      description:
        "Permit needs depend on the work and the local authority. Confirm permit applications, inspections, and related fees in the written scope. Ask who is responsible for each step before work begins.",
    },
    {
      title: "What happens if I want to change the plan?",
      description:
        "Ask for a written change order that explains the new work, cost, and schedule. Approve the change before it proceeds so both sides have the same record.",
    },
  ],
}
---

<Block {...content} />
```

```sh
bunx --bun shadcn@latest add @gnostic/faqs-remodify
```

## Choose 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](/blocks/pricing), [Services](/blocks/services), or [Contact](/blocks/contact) according to the questions it resolves.
