Skip to content
WingoUI
ComponentsTemplatesDocsPricingAI agentsBlogChangelogContact
Components
Buttons & Actions
ButtonButton GroupCopy ButtonDelete ButtonTheme ToggleToggleToggle Group
Inputs
Avatar UploadCalendarCheckboxColor PickerComboboxCountry SelectCron PickerCurrency InputDate PickerDate Range PickerDate Time PickerDuration PickerEmail InputEmoji PickerFile UploadFilter BuilderInputInput GroupListboxMasked InputMention InputMonth PickerMulti SelectNumber InputOTP InputPassword InputPhone InputRadio GroupRatingSearch InputSegmented ControlSelectSignature PadSliderSwitchTag InputTextareaTime PickerTimezone SelectTree Select
Forms
Address InputBooking WidgetCSV ImportFieldForm WizardInline EditInvoice line itemsRich Text EditorSchema Builder
Navigation
Back To TopBounce SidebarBreadcrumbCommand MenuGlobal SearchGooey NavHook SidebarNav MenuNav TabsPaginationProximity SidebarScroll ProgressSidebarStepsTable Of ContentsTabsTopbarUser MenuWorkspace Switcher
Overlays
Alert DialogContext MenuDialogDrawerDropdown MenuFamily DrawerHover CardPopoverShare DialogSheetShortcuts DialogTooltipTour
Feedback
AlertBannerCookie ConsentEmoji ReactionEmpty StateNotification BellNotification CenterProgressRoute ProgressSetup ChecklistSkeletonSpinnerToast
Data Display
Approval FlowAvatarBadgeCalendar ViewCode BlockComment ThreadContact cardCountdownDescription ListDiff ViewerFile ListFile managerFolderGanttJSON ViewerKbdLog ViewerMarkdownPresenceSchedulerTagTimelineTree View
Tables & Lists
Audit LogData TableDeal PipelineEditable GridKanbanListMembers tablePermissions MatrixTableTask ListVirtual List
Charts & Stats
Animated CounterArea chartBar chartDonut chartFunnel chartGaugeGitHub ActivityHeatmap calendarLeaderboardLine chartRadar chartRadial barSparklineStat CardTrackerTrend badge
Layout
AccordionApp ShellCardCollapsibleDetail LayoutEntity HeaderPage HeaderScroll AreaSeparatorSettings LayoutSplit ViewToolbar
Media
Audio PlayerCarouselCSV ViewerDOCX EditorDOCX ViewerExcel ViewerFile SystemImage compareImage CropperImage GalleryImage LightboxLocation MapPDF ViewerPowerPoint ViewerQR CodeStep PlayerVideo Player
AI Kit
Agent Status CardChat MessageChat ThreadChat WidgetConversation ListFluid OrbGrid RevealMatrix OrbModel PickerPrompt InputReasoning IndicatorRule BuilderSuggestion ChipsTool Call TimelineUsage MeterVoice InputWorkflow Canvas
Text & Effects
Background PatternGravity LettersMarqueeTerminalText AnimateText Rotate
Mobile
Action SheetBottom Tab BarFABHaptic ButtonHero HeaderInstall PromptLarge Title HeaderNotification BannerOnboarding CarouselPicker WheelPull To RefreshSlide To ConfirmSticky CTA BarSwipe DeckSwipeable Tabs
Commerce
Cart drawerCategory pickerCheckout stepsCoupon inputFavorite buttonFilter panelListing cardListing gridOrder trackerPricePrice rangePricing tableProduct galleryQuantity stepperReviewsSeller card
Marketing Sections
App Download SectionBlog Cards SectionCTA SectionFAQ SectionFeature GridFeature ShowcaseHero SectionIntegrations SectionLogo CloudMarketing FooterMarketing HeaderMarketing SectionNewsletter SectionPricing SectionStats SectionSteps SectionTeam SectionTestimonials SectionTimeline SectionVideo Section
Blocks
Admin Dashboard PageAdmin ShellAI Chat PageAPI Keys PageAutomation Builder PageCheckout PageCRM Contact PageCRM Pipeline PageError PagesInbox PageInvoice PageKPI DashboardListing Detail PageLogin PageMarketplace Home PageMarketplace Search PageMarketplace ShellMobile App HomeOnboarding FlowOrder History PagePost Listing WizardPricing PageProfile PageRegister PageSettings PageUsers Admin Page
Templates
About PageAcademy PageAccessibility PageAffiliate PageAgency PageAI Product PageAppointment Booking PageBlog PageBlog Post PageBug Bounty PageCareers PageChangelog PageCommunity PageCompare PageContact PageCustomer Story PageCustomers PageDemo Booking PageDevelopers PageDocs Home PageDownload PageEnterprise PageEvents PageExperts PageFAQ PageFeature PageGlossary PageHelp Article PageHelp Center PageHome Services PageImpact PageIntegration Detail PageIntegrations PageJob Detail PageLanding PageLaunch PageLegal PageManifesto PagePortfolio PagePress PageProduct Tour PagePromo PageReal Estate PageReferral PageResearch Report PageRestaurant PageRoadmap PageROI Calculator PageSecurity PageSolutions PageStartups PageStatus PageStorefront PageSwitch PageTemplate Gallery PageTravel PageWaitlist PageYear in Review Page
Hooks & Utilities
AI ChatChart kitCommerceDate utilsFile exportFile typesFiltersForm validationHapticsInvoicingMotion presetsNavigationNumber formatRelative timeRomanian locationsSpreadsheetText matchTonesUIProvideruseClipboarduseConsentuseControllableStateuseCooldownuseDebounceuseKeyboardInsetuseLocaleuseLongPressuseMediaControlsuseMediaQueryuseOverflowItemsusePersistedStateuseScrollEdgesuseScrollStateuseSelectionuseShortcutuseStickToBottom
GalleryTheme

Marketing Sections

FAQ Section

Marketing Sections

FAQ Section React block for Tailwind CSS v4

CTA SectionFeature Grid
Live props
Content
eyebrow
title
description
contactHref
headingAs
Layout
showCategories
layout
contact
align
width
spacing
State
defaultCategory
defaultOpen
Behavior
searchable
type
jsonLd
Appearance
variant
indicator
tone
headingSize
background
Code
import { FaqSection } from "@/components/blocks/faq-section"

<FaqSection />
  1. Home
  2. Components
  3. Marketing Sections
  4. FAQ Section
Free

FAQ Section React block for Tailwind CSS v4

v1.0.0·Added in 1.6.0

A React FAQ section for marketing pages: an accordion, a split layout, an open grid or expandable cards, with topics and live search.

Click or tap a question to open its answer (Enter and Space on the keyboard, arrow keys move between questions); in single mode opening one closes the other. The topics row filters the list: on phones it scrolls sideways, arrows move between topics. With search on, typing filters questions and answers live, opens every answer that holds the words and marks each match; when nothing matches, an empty state offers to search all topics or contact the team. Links inside answers are underlined. In the split layout the heading and contact card stay in view while the questions scroll on desktop. The grid layout shows every answer at once, one column on phones. The cards layout gives each question its own raised card that expands in place (a button with aria-expanded controlling its answer region), topic chips with counts on top, two columns from 768px and one on phones.

FAQ Section is a free React block in the React marketing sections category, written in TypeScript for React 19 and Tailwind CSS v4. It installs as source with npx wingo-ui@latest add faq-section, together with Marketing Section, Accordion, Button, Search Input, Segmented Control and 5 more and the npm packages motion and lucide-react.

Built with

The sections this page is made of. In the full-screen preview, hold Alt to outline each one on the page.

  • Marketing Sectionmarketing-section

Add to a project

Requirements: React 19 and Tailwind CSS v4, in Next.js (App Router or Pages), Vite or React Router. Installation guide · Next.js setup · Vite setup

npx wingo-ui@latest add faq-section

Usage

Import FaqSection from @/components/blocks/faq-section.

// app/(marketing)/faq/page.tsx
"use client"

import Link from "next/link"
import { FaqSection, FAQ_SECTION_CATEGORIES, type FaqItem } from "@/components/blocks/faq-section"

const questions: FaqItem[] = [
  { category: "billing", question: "Can I cancel at any time?", answer: "Yes. You keep access until the end of the billing period." },
  {
    category: "account",
    question: "How do I invite my team?",
    answer: (
      <>
        Open Settings, then Members. <Link href="/docs/members">Read the guide</Link>.
      </>
    ),
  },
]

export default function FaqPage() {
  return (
    <FaqSection
      headingAs="h1"
      items={questions}
      categories={FAQ_SECTION_CATEGORIES}
      searchable
      jsonLd
      linkComponent={Link}
    />
  )
}

Props

  • eyebrowdefault "FAQ"
    ReactNode

    The small uppercase line over the title.

  • titledefault "Frequently asked questions"
    ReactNode

    The section title.

  • descriptiondefault "Everything about plans, your account and your data. Can't find an answer? We are one message away."
    ReactNode

    The muted paragraph under the title.

  • actions
    ReactNode

    Buttons under the description.

  • itemsdefault "FAQ_SECTION_SAMPLE"
    FaqItem[]

    { question, answer, answerText?, category?, id? }; answer is any node, links in it are underlined.

  • categoriesdefault "FAQ_SECTION_CATEGORIES"
    FaqCategory[]

    { value, label, icon? } topics; only topics that hold a question show, and the row hides below two. In the cards layout they show as chips and as a label on each card.

  • showCategoriesdefault true
    boolean

    The topics row that filters the list.

  • category
    string

    The selected topic (controlled); "all" or a category value.

  • defaultCategorydefault "all"
    string

    The topic selected at first.

  • onCategoryChange
    (category: string) => void

    Runs when a topic is picked.

  • searchabledefault false
    boolean

    A search field that filters questions and answers as you type and marks the matches.

  • layoutdefault "centered"
    "centered" | "split" | "grid" | "cards"

    centered: one 720px column; split: heading and contact card on the left (sticky on desktop); grid: two columns, always open; cards: a raised card per question in two columns that opens in place, with topic chips and counts on top.

  • typedefault "single"
    "single" | "multiple"

    single: one answer open at a time; multiple: any number.

  • defaultOpendefault true
    boolean

    The first question starts open.

  • variantdefault "ghost"
    "ghost" | "outline" | "soft" | "separated"

    The accordion look: hairlines, one outlined or tinted box, or a card per question.

  • indicatordefault "plus"
    "chevron" | "plus" | "none"

    The open / closed sign at the end of each question (in the cards layout a round badge that fills with the tone when open).

  • tonedefault "neutral"
    "neutral" | "brand" | "success" | "warning" | "danger" | "info"

    The selected topic, the open question's sign and the contact button.

  • contactdefault true
    boolean

    The "Still have questions?" card.

  • contactHrefdefault "/contact"
    string

    Where the contact buttons link.

  • jsonLddefault false
    boolean

    Adds a FAQPage JSON-LD script with the plain text of every answer, for rich results in search.

  • aligndefault "center"
    "start" | "center"

    Where the heading sits (split always starts).

  • headingSizedefault "md"
    "md" | "lg"

    lg when the section opens the page (a FAQ page).

  • headingAsdefault "h2"
    "h1" | "h2" | "h3"

    The title element: h1 on a FAQ page, h2 inside a longer page.

  • widthdefault "auto"
    "auto" | "sm" | "md" | "lg" | "xl"

    The column; auto picks by layout (centered sm 720px, the others lg 1200px).

  • backgrounddefault "none"
    "none" | "muted"

    muted: a gray band that sets the section apart.

  • spacingdefault "md"
    "none" | "sm" | "md" | "lg"

    Vertical padding, from MarketingSection.

  • linkComponentdefault ""a""
    (props: LinkComponentProps) => ReactNode

    The router link (or "a") for the contact buttons; default the LinkProvider's (links inside answers use the provider).

  • labels
    Partial<FaqSectionLabels>

    all, categories, searchLabel, searchPlaceholder, empty ({query}), emptyDescription, searchAll, contactTitle, contactDescription, contactAction.

  • className
    string

    Classes for the <section>.

  • classNames
    Partial<Record<FaqSectionSlot, string>>

    Classes for heading, aside, toolbar, categories, search, list, item, question, answer, empty and contact.

Parts

  • FAQ_SECTION_SAMPLE

    constant

    Twelve Acme questions across billing, account, security and integrations.

  • FAQ_SECTION_CATEGORIES

    constant

    The four sample topics: Billing, Account, Security, Integrations.

  • DEFAULT_FAQ_SECTION_LABELS

    constant

    The English strings.

  • faqNodeText

    function

    The plain text of a node: what search and the JSON-LD read from a rich answer.

  • FaqItem

    type

    { question, answer, answerText?, category?, id? }.

  • FaqCategory

    type

    { value, label, icon? }.

  • FaqSectionProps

    type

    Props of FaqSection.

Examples

Open

Help center with search

Topics and a search field that filters as you type and marks every match.

Open

Split, with the contact card

The heading and a sticky contact card on the left, the questions on the right.

Open

Always open grid

Two columns of short answers with no accordion, on a muted band.

Open

Pricing FAQ, brand tone

Only the billing questions, several open at once, with a FAQPage JSON-LD script for search engines.

Open

Question cards

Each question on its own card that opens in place, with topic chips and counts on top.

Dependencies

motionlucide-reactmarketing-sectionaccordionbuttonsearch-inputsegmented-controluse-controllable-statemotionnavigationtonesui-config

Files

  • components/blocks/faq-section.tsx

FAQ

Is the React FAQ Section block free?

Yes. The source is free and needs no account: copy it from the Code tab or install it with the CLI.

How do I install FAQ Section?

Run npx wingo-ui@latest add faq-section. It also adds the Wingo UI items it builds on (Marketing Section, Accordion, Button, Search Input, Segmented Control and 5 more) and the npm packages motion and lucide-react. With shadcn, run npx shadcn@latest add https://wingo-ui.com/r/faq-section.json.

How does FAQ Section behave on phones?

The topics row filters the list: on phones it scrolls sideways, arrows move between topics. The grid layout shows every answer at once, one column on phones.

See also

AccordionMarketing SectionSearch InputSegmented ControlPricing Page

Used in

Academy PageAffiliate PageAI Product PageAppointment Booking PageBug Bounty PageCompare PageContact PageDemo Booking PageDownload PageEnterprise PageExperts PageFAQ Page

and 14 more.

More React marketing sections

Feature GridFeature ShowcaseHero SectionIntegrations SectionLogo CloudMarketing Footer
All 20 React marketing sections

Articles using this component

  • AI SaaS Landing Page Template: The 4 Sections It Needs

    Build it: screens and apps · Nov 6, 2026 · 9 min read

  • Mobile App Landing Page Template: QR Code and Store Links

    Build it: screens and apps · Nov 6, 2026 · 9 min read

  • Claude Code Landing Page That Does Not Look AI-Made

    Building UI with AI agents · Nov 5, 2026 · 11 min read

  • SaaS Comparison Page: Honest vs Pages That Convert

    Build it: screens and apps · Nov 5, 2026 · 10 min read

New components by email

New posts, product news and occasional offers from Wingo UI. We count clicks to keep it relevant.

PreviousCTA SectionNext Feature Grid