Skip to content

Faq Support

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

neo-corporate/section/faq-support
Open ↗

Source

import { BookOpen, LifeBuoy, MessagesSquare, type LucideIcon } from "lucide-react";
import { cn } from "@/lib/utils";

export interface FaqSupportProps {
  title?: string;
  items?: { q: string; a: string }[];
  channels?: { icon: LucideIcon; title: string; text: string; cta: string; href: string }[];
  className?: string;
}

const DEFAULT_ITEMS = [
  { q: "Is there a free trial?", a: "Yes, 14 days on Starter and Growth, no card required." },
  { q: "Can I import existing invoices?", a: "Upload a CSV or sync from your ERP; open balances carry over." },
  { q: "Who owns the data?", a: "You do. Export everything at any time in CSV or via API." },
  { q: "Do you support purchase orders?", a: "Yes, PO numbers can be required per customer and matched on invoices." },
  { q: "What about sales tax?", a: "Automatic US sales tax and EU VAT calculation are built in." },
  { q: "Is there a mobile app?", a: "Approvals and receipts work on iOS and Android." },
];

/** Compact 2×3 grid of short Q&As followed by three bordered support channel cards (docs, chat, dedicated support). */
export function FaqSupport({
  title = "Quick answers",
  items = DEFAULT_ITEMS,
  channels = [
    { icon: BookOpen, title: "Documentation", text: "Guides, API reference and ERP setup.", cta: "Browse docs", href: "#docs" },
    { icon: MessagesSquare, title: "Live chat", text: "Mon–Fri, 7am–7pm ET. Median reply: 4 min.", cta: "Start a chat", href: "#chat" },
    { icon: LifeBuoy, title: "Priority support", text: "Dedicated CSM and 1-hour SLA on Enterprise.", cta: "Talk to sales", href: "#sales" },
  ],
  className,
}: FaqSupportProps) {
  return (
    <section aria-labelledby="nc-faqsup-title" className={cn("da-section bg-da-surface-2 text-da-fg", className)}>
      <div className="da-container">
        <h2 id="nc-faqsup-title" className="font-da-display text-[clamp(2rem,4.5vw,2.75rem)] font-extrabold tracking-da-display">
          {title}
        </h2>
        <dl className="mt-10 grid gap-x-10 gap-y-8 md:grid-cols-2 lg:grid-cols-3">
          {items.map((it) => (
            <div key={it.q}>
              <dt className="font-semibold">{it.q}</dt>
              <dd className="mt-1.5 text-[15px] text-da-muted-fg">{it.a}</dd>
            </div>
          ))}
        </dl>
        <ul className="mt-14 grid gap-4 md:grid-cols-3">
          {channels.map((c) => (
            <li key={c.title} className="da-stroke flex flex-col rounded-da-lg bg-da-surface p-6 text-da-surface-fg">
              <c.icon aria-hidden className="size-6 text-da-primary" />
              <h3 className="mt-4 font-da-display font-bold">{c.title}</h3>
              <p className="mt-1 flex-1 text-sm text-da-muted-fg">{c.text}</p>
              <a href={c.href} className="da-focus mt-4 self-start rounded-da-sm text-sm font-semibold text-da-primary hover:underline">
                {c.cta} →
              </a>
            </li>
          ))}
        </ul>
      </div>
    </section>
  );
}

export default FaqSupport;

modules/neo-corporate/section/faq-support/index.tsx

Props

PropTypeDefaultDescription
titlestring—Heading.
items{ q: string; a: string }[]—Content items (see the exported types).
channels{ icon: LucideIcon; title: string; text: string; cta: string; href: string }[]—Channels.
classNamestring—Extra classes on the root.

Other faq variants in Neo Corporate

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 Grid

All answers visible at once: a three-column grid of short questions and answers under a header, followed by two support link cards (documentation, talk to us).

MinimalFAQ

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.

MinimalFAQ

FAQ Split

Two-column FAQ: title, description and support link on the left, hairline-divided Radix accordion on the right with a rotating chevron and a smooth height + fade expand.

MinimalFAQ

Faq Tabs

FAQ grouped by category behind an underline tab bar (Radix Tabs, with counts); the active category shows every question and answer in a two-column definition list.

MinimalFAQ

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 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