Skip to main content
BlocksFAQCentered FAQ accordion with support link

shadcn/ui FAQ block for Base UICentered FAQ accordion with support link

A classic single-column FAQ section for shadcn/ui: eyebrow, heading and lead text above a shadcn/ui Accordion with eight collapsible questions, plus a "Can't find what you're looking for?" link to support underneath. Narrow reading width keeps long answers comfortable on every screen. Ideal as the FAQ section of a pricing or landing page.

Free@shadcnpro/base/faq-01

Preview

Installation

npx shadcn@latest add @shadcnpro/base/faq-01

First time? Add the @shadcnpro registry to components.json as shown in Installation. Free blocks install without a license key.

Let your AI editor install it

The shadcn/ui Pro MCP server lets Cursor, Claude Code and VS Code find and install blocks like Centered FAQ accordion with support link from one prompt. It is included in every Pro plan.

Add the shadcn/ui components

Centered FAQ accordion with support link uses Accordion, from the Base UI components set up in your components.json.

npx shadcn@latest add accordion

Copy the code

Paste it into components/blocks/faq-01.tsx.

components/blocks/faq-01.tsx
'use client';

import {
  Accordion,
  AccordionContent,
  AccordionItem,
  AccordionTrigger,
} from '@/components/ui/accordion';

const faqs = [
  {
    id: 'free-plan',
    question: 'Is there a free plan?',
    answer:
      'Yes. Starter is free for as long as you need it and includes unlimited invoices, card and bank payments, and one user seat. You only move to Growth ($29/mo) or Scale ($79/mo) when you need more seats, accounting sync, or recurring billing.',
  },
  {
    id: 'trial',
    question: 'How does the 14-day trial work?',
    answer:
      'Every new workspace gets full access to Scale for 14 days, no card required. When the trial ends you pick a paid plan or drop back to Starter automatically; nothing you created is deleted.',
  },
  {
    id: 'payment-methods',
    question: 'Which payment methods can my clients use?',
    answer:
      'Clients can pay by Visa, Mastercard or American Express, or by bank transfer through SEPA (EU) and ACH (US). You decide which methods are offered on each invoice.',
  },
  {
    id: 'recurring',
    question: 'Can I set up recurring invoices?',
    answer:
      'Yes. Pick a weekly, monthly, quarterly or annual schedule and Ledgerly issues the invoice, sends it and, if the client has a saved card, charges it automatically on the due date.',
  },
  {
    id: 'currencies',
    question: 'Do you support multiple currencies?',
    answer:
      'You can invoice in more than 130 currencies. The exchange rate is locked when the invoice is issued, and payments settle to your account in your home currency.',
  },
  {
    id: 'accounting',
    question: 'Does Ledgerly sync with Xero or QuickBooks?',
    answer:
      'Growth and Scale include two-way sync with Xero and QuickBooks Online. Invoices, payments and contacts are pushed nightly, or on demand whenever you click Sync now.',
  },
  {
    id: 'security',
    question: 'Is Ledgerly SOC 2 compliant?',
    answer:
      'Ledgerly is SOC 2 Type II certified and audited every year. The current report is available to customers and prospects under NDA from our security team.',
  },
  {
    id: 'export',
    question: 'Can I export my data if I leave?',
    answer:
      'Always. Invoices, payments and client records can be exported as CSV or PDF at any time, on any plan, and we keep the export available for 30 days after you cancel.',
  },
];

export default function Faq01() {
  return (
    <section className="w-full py-16 sm:py-24">
      <div className="mx-auto w-full max-w-3xl px-6">
        <div className="text-center">
          <p className="font-medium text-primary text-sm">FAQ</p>
          <h2 className="mt-3 text-balance font-semibold text-3xl tracking-tight sm:text-4xl">
            Frequently asked questions
          </h2>
          <p className="mt-4 text-pretty text-lg text-muted-foreground">
            Everything you need to know about plans, payments and how Ledgerly
            keeps your books in order.
          </p>
        </div>

        <Accordion className="mt-12">
          {faqs.map((faq) => (
            <AccordionItem key={faq.id} value={faq.id}>
              <AccordionTrigger className="py-5 text-base">
                {faq.question}
              </AccordionTrigger>
              <AccordionContent className="text-pretty text-base text-muted-foreground">
                {faq.answer}
              </AccordionContent>
            </AccordionItem>
          ))}
        </Accordion>

        <p className="mt-10 text-center text-muted-foreground text-sm">
          Can’t find what you’re looking for?{' '}
          <a
            className="font-medium text-foreground underline underline-offset-4 hover:text-primary"
            href="#"
          >
            Chat with our support team
          </a>
        </p>
      </div>
    </section>
  );
}

Use it

Import it where you need it and update the import path to match your project.

Usage
import Faq01 from '@/components/blocks/faq-01';

export default function Page() {
  return <Faq01 />;
}

Overview

Centered FAQ accordion with support link is a free faq block for shadcn/ui and Base UI. It is built from the Accordion component, and installs as a single file you own and can edit.

It only uses semantic tokens such as bg-background, text-muted-foreground and border-border, so it follows your theme, radius and fonts and switches with dark mode. It is responsive from desktop to mobile; the width controls above the preview show each size. The same layout is in the shadcn/ui Pro Figma kit, so design and code start from one source.

Category
FAQ
Component library
Base UI (@base-ui/react)
Also available for
Radix UI, React Aria
Built with
Accordion
npm packages
None
Files
components/blocks/faq-01.tsx
Access
Free, installs without a license key

Frequently asked questions

Pricing, installation and Base UI details for Centered FAQ accordion with support link.