Arc
ComponentsBlocksScreensDocsPricingTry the demo
Get Pro
Saved

Docs

IntroductionInstallationThemingMotionAI and MCPChangelog

Components136

ButtonAction buttonSplit buttonButton groupFloating button groupExpanding button groupCopy buttonAction swapIcon morphConfirm morphTheme switcher

Hold to confirmSwipe actionsReactions

Dropdown menuContext menuUser menu

InputTextareaPassword fieldPassword strengthSearch fieldExpanding searchInline edit

Number fieldMoney inputPhone inputScrub inputTag inputMention inputShortcut recorder

SelectComboboxMulti-selectMorph selectChip group

Radio cardsBilling toggleCheckboxRadio groupSwitchSegmented controlRatingToggle group

SliderElastic sliderRange histogram sliderRuler sliderWindow rangeNewProLens rangeNewPro

CalendarDate pickerDate range pickerTime pickerColor pickerEmoji pickerPro

Rich text editorSignature padFile dropzoneAvatar uploadPro

TabsBreadcrumbPaginationMega menu morphProTable of contents progressPro

Scroll areaAccordionExpandable cardResizable panelsExpandable text

DialogDrawerBottom sheetPopoverHover cardTooltipShare accessProConfirm popoverPro

AlertToastToast stackAnnouncement barCookie consentUndo toastPro

ProgressSkeletonStepperCountdownUsage meterOnboarding checklist

AvatarAvatar groupBadgePresence stackPro

CardMetric cardEmpty stateMetric tickerPro

Line chartBar chartDonut chartStreamgraphBrush chartWaffle chartSlope chartSparklineGaugeActivity heatmapAnimated counterRidgelineTreemapSplit barPro

SunburstProSankey flowProFunnel chartProRadar chartProRealtime streamProRace bar chartProData gridPro

Sortable data tableTree tableTree viewReorderable listFilter toolbarCode blockJSON viewer

TimelineComment threadChat thread

Image compareCarouselCard stack

Text revealIn-view titleText morphText shimmer

Blocks122

KPI drilldownProMetric explorerProRevenue explorerProMRR waterfallProCohort retentionProUsage forecastProJourney flowProUptime statusProPivot builderProChoropleth explorerProConnected scatterProHorizon chartProAccount healthPro

Budget variancePro

Small multiplesProLine replayPro

AI chatProAI composerProAI answerProModel pickerProModel arenaProPrompt studioProDocument extractionProAgent memoryProAI side panelProAI inline editProResearch runProAI insight cardProCatch upProAI feature launchProAI search barProAI setup wizardProCall insightsProLead scoringPro

Agent runProAgent tasksProAgent approvalsProAgent routinesProAgent orchestratorProMCP serversProKnowledge baseProEval suiteProAgent builderProAgent galleryPro

SidebarPro4Page headerCommand paletteNotification centerSelection toolbarProEmpty statesSearch resultsPro

Login and sign up5, free and Pro variantsOnboarding illustrationProOTP inputMulti-step formProTwo-factor setupProMagic linkPro

Settings pageProSettings commandProSecurity settingsProBilling overviewProUsage billingProCancel flowProOnboarding surveyProSpend alertPro

Team membersProInvite peopleProRoles and permissionsProProfile pagePro

API keysProWebhooksProIntegrationsProImport wizardNewProEnvironment variablesProDomain verifyProWebhook testerPro

Plan comparisonPricing calculatorProUsage pricingProCart drawerProCheckout summaryProLive checkoutProSeat managerProCredit top-upPro

Wallet cardProDelivery trackerProSeat mapPro

Activity feedProSupport widgetProFeature votingPro

File uploadMedia playerPro

Availability pickerProRelease readinessProFeedback boardProSmart schedulerProTask breakdownProGoal trackerPro

Hero sectionHero signupPro

Scroll storyProSpotlight gridProFeature bentoProComparison table

Logo marqueeStudio perspectivesProStats band

Changelog feedFAQ sectionContact sectionTeam showcaseProBlog grid

Site headerSite footerCTA sectionNewsletter signup

Activity terrainProRevenue globeProCustomer galaxyProSemantic zoomProLayout morphProExploded viewPro

Screens14

Metrics dashboardProMarket terminalPro

Kanban boardProProject boardProGantt timelinePro

Week calendarProMonth calendarNewPro

Team directoryPro

Inbox triageProSupport conversationProHelp centerPro

Product listingProProduct detailProInvoice studioPro

Special components106

Share sheetProAction morphProMorph navProDockProLiquid tab barProOrbit menuPro

Glass menuProGlass segmentedProGlass cardProGlass tab barPro

Sheet stackProWallet stackProControl centerProHolo cardProCard to articleProLink unfurlPro

Product galleryProLightbox galleryProPhoto gridProCover flowPro

Voice orbProNow playingProVoice recorderPro

Booking pillProActivity ringsProTime dialProDate reelPro

Keycap keyboardProSlot textSand textProTypewriter terminalPro

Stretch refreshProMorph loaderProSkeleton morphProBlack holeProCharge sessionPro

Sticker peelProTicket tearProPage curlProOrbit logosProPrize wheelPro

Dot gridProImage trailProGravity wellProInk fluidProCursor trail drawPro

Agent statusProTool callProAgent planProAgent timelineProContext windowProReasoning blockProSource cardsProModel cardProAI workflowProCode suggestionProGhost textProImage generationProDictation buttonProSpeech playerProMeeting summaryProReply draftProAgent handoffProPII redactionProResponse feedbackProLLM cost calculatorProProvider keysProGeneration statsProAI translateProTL;DR toggleProConnector setupProSmart form fillProEnrich columnProTicket routerProAsk your dataProAgent cursorProProvider statusProTraining runProAI commandProStarter promptsProAI mascotProImage revealProAI sparkProPixel mascotProGhost mascotProCube mascotProTone tunerProUpgrade promptProReferral cardProTrial bannerProTeam switcherProLive visitorsProSocial proof toastProInstall snippetPro

Data flowProPayment flowProDNS resolutionProModel trainingProMulti-region failoverProVector searchProBranch graphProAgent loopProMixture of expertsProSpeculative decodingProPrompt cacheProReasoning treePro
What’s new4 new
BlocksFAQ section

FAQ section

FAQs as an accordion, a topic rail, or a searchable list that highlights matches.

$pnpm dlx shadcn@latest add @uiarc/faq-section
Live block · sample data

When to use

  • FAQ sections on pricing, product, and support pages.
  • Long FAQs that benefit from categories or live search.

When not to use

  • Use accordion for generic collapsible content that is not a question list.
  • Use a docs page when answers need code, images, or long structure.

Installation

Add FAQ section with the shadcn CLI, or copy the source by hand.

$pnpm dlx shadcn@latest add @uiarc/faq-sectionpnpm dlx shadcn@latest add @uiarc/faq-section

Adds the block and its local dependencies, and installs motion, lucide-react. First time? Add the @uiarc registry to components.json, or use the full URL:

Usage

Use this as a starting point and replace the sample data with your own.

example.tsx
1import { FaqSection } from "@/components/arc/blocks/faq-section/faq-section";2 3export function PricingFaq() {4  return (5    <FaqSection6      variant="search"7      title="Questions about billing"8      items={[9        { question: "Can I cancel anytime?", answer: "Yes. Your plan stays active until the end of the billing period." },10        { question: "Do you offer refunds?", answer: "We refund annual plans within 14 days of purchase." },11      ]}12      contact={{ label: "Talk to billing", href: "mailto:billing@example.com" }}13    />14  );15}
Built fromMotion

API reference

2 parts. The first is the root.

FaqSection

An FAQ in three layouts: one centered accordion, questions grouped beside a category rail, or a list that filters as you type.

PropTypeDefaultDescription
variant"accordion" | "columns" | "search""accordion"Layout.
titlestring"Frequently asked questions"Section heading.
descriptionstring–One line under the heading.
items{ id?: string; question: string; answer: string; category?: string }[]faqExampleItemsQuestions. answer is plain text and is what search matches. category groups the columns variant.
multiplebooleanfalseAllow several answers open at once.
valuestring[]–Open item ids (controlled). Ids default to the question.
defaultValuestring[]–Initially open ids when uncontrolled.
onValueChange(value: string[]) => void–Called when answers open or close.
categorystring–Active category in the columns variant (controlled).
onCategoryChange(category: string) => void–Called when the category changes.
querystring–Search text in the search variant (controlled).
onQueryChange(query: string) => void–Called as the search text changes.
contact{ label: string; description?: string; href?: string; onClick?: () => void } | null–A way to reach a person when the answer isn't here. Pass null to hide it.
classNamestring–Extra class on the section.

FaqSectionBlock

Default export: a preview with a layout switcher.

PropTypeDefaultDescription
variantFaqSectionVariant"accordion"Initial variant.

Keyboard interactions

ArrowUporArrowDown
Move between questions in one list.
HomeorEnd
First or last question.
EnterorSpace
Opens or closes the focused answer.

Accessibility

  • Questions are buttons with aria-expanded controlling their answer region.
  • Search matches are wrapped in mark elements; closed items that match only in the answer show a short excerpt.
  • The search variant uses Arc SearchField with a real label.

Motion

  • Answers open with height and opacity together and the plus icon turns.
  • Filtering and category changes move remaining items with layout animation.
  • Reduced motion opens and filters instantly.

Responsive behavior

  • Container queries: below 760px the category rail becomes a horizontal scrolling row above the questions; below 480px padding tightens.

Performance

  • Search filters in memory on each keystroke; fine for dozens of items, not thousands.

Notes for AI

Give your coding assistant the Markdown reference instead of screenshots.

  • Keep answers plain text; the search variant matches and highlights inside them.
  • Pass stable ids when questions may be reworded, so controlled open state survives edits.
  • Composes Arc SearchField and SegmentedControl.
/components/blocks/faq-section/markdown

The full library index for assistants is at /llms.txt.

Related

AccordionComponentProgressively reveal supporting information in place.Search fieldComponentA recognizable search entry point with clear affordances.Contact sectionBlockA validated contact form that morphs into a confirmation, support channels, and office cards with local times.Hero sectionBlockThree full screen SaaS heroes: a live dashboard rising from the bottom edge over a drifting mesh, a workflow graph that routes sample events node by node, and editorial type over a mesh gradient.

More like this in Pro

Explore Pro
Team showcaseProBlockAn image led team introduction with profiles that open in place.Eval suiteProBlockRun an evaluation suite on a new version of an LLM feature against its baseline: results stream in case by case, and regressions and fixes are called out with the cases behind them.Agent builderProBlockA card for setting up an AI agent: an inline editable name, a model picker, instructions, tool toggles with real app marks, and knowledge files with upload progress. A Configure / Test switch opens a compact chat that answers with the tools you turned on, and Publish ships the setup with a saved or unsaved state.
PreviousHero sectionNextContact section
Arc · 122 block pagesllms.txt

On this page

  • Preview
  • When to use
  • When not to use
  • Installation
  • Usage
  • API reference
  • Keyboard
  • Accessibility
  • Motion
  • Responsive behavior
  • Performance
  • Notes for AI
  • Related
View as Markdown

Frequently asked questions

Everything you need to know before you install your first component.

  • Arc is a library of React components and blocks built on Motion and Radix. You copy the source into your project, so every line is yours to change.