Skip to content

Faq List

Centered single-column FAQ built on native details/summary (zero JS): hairline dividers, a plus icon that rotates into a cross when open, and a contact line underneath.

minimal/section/faq-list
Open ↗

Source

import { Plus } from "lucide-react";
import { cn } from "@/lib/utils";

export interface FaqListItem {
  question: string;
  answer: string;
}

export interface FaqListProps {
  eyebrow?: string;
  title?: string;
  items?: FaqListItem[];
  contact?: { label: string; href: string; text: string };
  className?: string;
}

const DEFAULT_ITEMS: FaqListItem[] = [
  {
    question: "Who counts as a seat?",
    answer: "Only responders — people who can be paged. Viewers, stakeholders and status-page subscribers are free and unlimited on every plan.",
  },
  {
    question: "Can we import schedules from PagerDuty or Opsgenie?",
    answer:
      "Yes. The importer brings over users, schedules, escalation policies and services in a few minutes, and you can run both tools side by side during the switch.",
  },
  {
    question: "How do you make sure pages are delivered?",
    answer:
      "We send push, SMS and voice through two carriers per region with automatic failover, and back it with a 99.99% delivery SLA on Business and above.",
  },
  {
    question: "Where is our data stored?",
    answer: "In the US by default, or in the EU (Frankfurt) on Enterprise. Data is encrypted at rest with AES-256 and in transit with TLS 1.3.",
  },
  {
    question: "Does the AI read our Slack messages?",
    answer: "Only the messages in incident channels, only to draft the postmortem, and never to train models. You can disable it per workspace.",
  },
  {
    question: "What happens when the trial ends?",
    answer: "You drop to the Free plan automatically. Nothing is deleted; paid features pause until you upgrade.",
  },
];

/** Single-column FAQ using native details/summary (no JS), plus icon rotating to ×, and a contact line. */
export function FaqList({
  eyebrow = "FAQ",
  title = "Questions, answered",
  items = DEFAULT_ITEMS,
  contact = { text: "Still stuck?", label: "Chat with an on-call engineer", href: "#support" },
  className,
}: FaqListProps) {
  return (
    <section aria-labelledby="faq-list-title" className={cn("da-section bg-da-bg text-da-fg", className)}>
      <div className="da-container">
        <div className="mx-auto max-w-2xl">
          <p className="text-center font-da-mono text-xs text-da-accent-fg">{eyebrow}</p>
          <h2 id="faq-list-title" className="mt-3 text-center text-[clamp(1.875rem,4vw,2.75rem)] leading-[1.1] font-semibold tracking-da-display">
            {title}
          </h2>
          <div className="mt-12 border-t border-da-border">
            {items.map((it) => (
              <details key={it.question} className="group border-b border-da-border">
                <summary className="da-focus flex cursor-pointer list-none items-center justify-between gap-6 rounded-da-sm py-5 text-[15px] font-medium [&::-webkit-details-marker]:hidden">
                  {it.question}
                  <Plus aria-hidden className="da-transition size-4 shrink-0 text-da-muted-fg group-open:rotate-45" />
                </summary>
                <p className="-mt-1 pr-10 pb-5 text-[15px] leading-relaxed text-da-muted-fg">{it.answer}</p>
              </details>
            ))}
          </div>
          <p className="mt-8 text-center text-sm text-da-muted-fg">
            {contact.text}{" "}
            <a
              href={contact.href}
              className="da-focus rounded-da-sm font-medium text-da-fg underline decoration-da-border-strong underline-offset-4 hover:decoration-da-fg"
            >
              {contact.label}
            </a>
          </p>
        </div>
      </div>
    </section>
  );
}

export default FaqList;

modules/minimal/section/faq-list/index.tsx

Props

PropTypeDefaultDescription
eyebrow / titlestring—Header copy.
items{ question, answer }[]—Questions.
contact{ text, label, href }—Line below.
classNamestring—Classes on the section.

Other faq variants in Minimal

FAQ in other art directions

FAQ Accordion

Two-column FAQ: sticky title + support CTA on the left, numbered accordion cards on the right with a yellow plus that rotates into an ink cross when open. Built on Radix Accordion.

BrutalistFAQ

FAQ Categories

Help-center style FAQ: topic buttons with counts on the left (stacked on desktop, wrapped on mobile), and a ruled accordion on the right whose open question floods yellow.

BrutalistFAQ

FAQ Grid

Always-open FAQ grid: ruled cells (1/2/3 columns) with a yellow question-mark square, uppercase question and answer, closed by a full-width ink contact row. No interaction needed.

BrutalistFAQ

FAQ Search

Searchable FAQ: a huge ruled search field that presses in on focus, live result count, and native <details> cards with tags; a pink empty state points to support.

BrutalistFAQ

Faq Cards

All-open FAQ: a 3-column grid of glass cards, each with a gradient number badge, question and answer, followed by a glass contact pill with an ink button.

GlassFAQ

Faq Chat

FAQ as a chat: suggested question chips on the left; picking one adds a gradient user bubble and, after a typing indicator, a glass answer bubble in the conversation panel.

GlassFAQ

FAQ Glass

Centered FAQ with stacked frosted accordion cards; the plus button spins into a gradient cross with a slight overshoot and answers expand smoothly. Built on Radix Accordion.

GlassFAQ

Faq Search

Help-center FAQ: large glass search pill filtering a frosted Radix accordion live, with category tags, result count and highlighted matches; empty state.

GlassFAQ

Faq Inline

Ultra-compact FAQ: short questions and one-line answers flowing as a 3-column grid of mono question labels over large answers — scannable in seconds.

Mono CleanFAQ

Faq List

Numbered accordion FAQ in a ruled list: mono index + question, a +/− glyph that swaps, answer indented under the question; left column holds the label and title.

Mono CleanFAQ

Faq Split

Always-open FAQ as a two-column definition list (question left in medium weight, answer right in muted text) on hairline rows, followed by a mono contact line.

Mono CleanFAQ

Faq Tabs

FAQ grouped by topic with text tabs (Radix Tabs) underlined in ink when active, and each topic’s answers as a ruled definition list.

Mono CleanFAQ

Faq Accordion

Two-column FAQ: heading + description + contact link on the left, bordered Radix accordion with plus icons rotating to × on the right.

Neo CorporateFAQ

Faq Security

Security & compliance FAQ: dark-tinted certification cards (SOC 2, ISO 27001, GDPR, PCI) with shield icons, then security questions as native <details> disclosure rows.

Neo CorporateFAQ

Faq Sidebar

Help-center style FAQ: a vertical category nav (left, becomes horizontal scroll chips on mobile) and the selected category’s questions as an open definition list.

Neo CorporateFAQ

Faq Support

Compact 2×3 grid of short Q&As followed by three bordered support channel cards (docs, chat, dedicated support).

Neo CorporateFAQ

Faq Columns

Editorial FAQ: serif title and intro in a narrow left column, questions as a two-column definition list on the right separated by warm hairlines.

Organic SoftFAQ

Faq Contact

FAQ beside a contact card: native disclosure list on the left, and a clay-tinted card with a sprouting-leaf illustration, email and chat buttons on the right.

Organic SoftFAQ

Faq Search

Searchable FAQ: rounded search field plus topic pills filter a list of questions (native details), with a friendly empty state and live result count.

Organic SoftFAQ

Faq Soft

Soft accordion: each question is its own rounded paper pill-card that turns sage when open, with a round plus that rotates into a cross; generous spacing.

Organic SoftFAQ

Faq Columns

All-visible FAQ: sticky intro with a peach “Chat with us” pill on the left, six Q&As in a 2-column grid with round lavender number badges on the right.

Soft FlatFAQ

Faq Help

Help-center FAQ: lavender panel with a friendly greeting, big white search pill and popular-search chips; matching answers show as white cards with a peach empty state.

Soft FlatFAQ

Faq Pills

Single-column FAQ of rounded white blocks on native details/summary; the open item turns lavender and its round chevron button flips and fills periwinkle.

Soft FlatFAQ

Faq Tinted

FAQ by topic: three big pastel topic buttons (emoji + label) switch the list of white Q&A cards below, which fades in on change.

Soft FlatFAQ