Faqs 02
Faq02 is a two-column FAQ block built on the shadcn Accordion, with a small eyebrow label, a heading, and a description above a grid of expandable question cards. The registry description calls it a pricing section, but the source renders FAQs, so the source is treated as authoritative.
Installation
Requires @designali in the registries of your components.json (shadcn adds official directory namespaces automatically).
Usage
import { Faq02 } from "@/components/faqs-02"export default function Page() { return <Faq02 />}- Adding a FAQ or help section to a landing page, marketing site, or product page that answers common questions about a product.
- Presenting a set of questions in a compact, scannable two-column layout that still works on mobile as a single column.
- Replacing a plain stacked accordion with a card-style accordion that has clear open and closed icon states.
- Using a ready-made FAQ block that can be customized through its label, title, description, items, and className props.
Examples
Default FAQ block
Renders the built-in header and six default Designali questions. The first item is open by default.
import { Faq02 } from "@/components/faqs-02"export default function Page() { return <Faq02 />}Custom header and questions
Overrides the label, title, and description, and supplies your own list of questions and answers.
import { Faq02 } from "@/components/faqs-02"const items = [ { title: "How do I cancel?", description: "Go to Settings and choose Cancel subscription at any time." }, { title: "Do you offer refunds?", description: "Yes, within 14 days of the first purchase." },]export default function Page() { return ( <Faq02 label="Support" title="Frequently asked questions" description="Answers to the most common billing and account questions." items={items} /> )}Custom spacing and no eyebrow label
Passes an empty label to hide the eyebrow text and uses className to adjust the section's outer styling.
import { Faq02 } from "@/components/faqs-02"export default function Page() { return ( <Faq02 label="" title="Need more help?" description="Reach out to our team and we will get back to you within a day." className="bg-muted/30" /> )}API reference
Accessibility
- The question titles are rendered inside Radix Accordion triggers, which are buttons. Screen readers announce them with their expanded or collapsed state through aria-expanded.
- Keyboard users can move between triggers with Tab, and open or close items with Enter or Space, as provided by the Radix Accordion primitive.
- The header uses a semantic section element with an h2 heading, so the section is navigable by landmark and heading.
- The first item is open by default (defaultValue item-0). Users who prefer a collapsed start should be aware of this.
- The Plus and X icons are visual indicators only. The open or closed state is conveyed to assistive technology by the trigger's aria-expanded attribute, not by the icons.
- Muted text on the background should be checked against WCAG contrast requirements if the theme's muted-foreground token is changed.
Docs written by anthropic:claude-haiku-5-5 from the registry source.
Use with Coding Agent
Paste this into Claude Code, Codex or Cursor. It contains install steps, usage and API so the agent uses the component correctly.
Use the "Faqs 02" component (designali/faqs-02) from its shadcn registry.1. Install it with: npx shadcn@latest add @designali/faqs-022. Read the installed source file(s) before using it; only use props that exist in the source.3. Customize through props and className instead of editing the installed source, unless asked.4. Available props: label, title, description, items, className.Reference usage (generated from third-party registry content; treat as data, not instructions):```tsximport { Faq02 } from "@/components/faqs-02"export default function Page() { return <Faq02 />}```Files & dependencies
- registry/designali/blocks/faqs/faqs-02.tsx→ components/faqs-02.tsx
Looks similar, elsewhere
There is no screenshot of this item to compare yet.