Skip to main content
Clever Ops

Two-Column FAQ

Static two-column FAQ that hides nothing, every answer visible and scannable, questions in medium weight over quiet answers, mono category micro-labels. No accordions.

Preview & code

Loading Two-Column FAQ preview

Installation

pnpm dlx shadcn@latest add @cleverui/faq-two-column

Requires the @cleverui registry in your components.json, a one-off, two-line setup.

Usage

tsx
import { FaqTwoColumn } from '@/components/blocks/faq-two-column'
Exampletsx
import { FaqTwoColumn } from '@/components/blocks/faq-two-column'

export default function FaqTwoColumnDemo() {
  return (
    <div className="mx-auto w-full">
      <FaqTwoColumn
        eyebrow="FAQ"
        heading="Questions, answered"
        intro="Everything on the page, nothing tucked behind a click. Browse or search freely."
        columns={2}
        items={[
          {
            category: 'Billing',
            question: 'When am I charged after the trial?',
            answer:
              'Northline bills on the day your 14-day trial ends if a Pro plan is selected. Annual seats renew on the same calendar date each year; monthly seats renew every 30 days from first charge.',
          },
          {
            category: 'Billing',
            question: 'Can we switch from monthly to annual mid-cycle?',
            answer:
              'Yes. The remaining monthly balance is credited toward the annual invoice. You’ll see the prorated line item on the next statement within two business days.',
          },
          {
            category: 'Account',
            question: 'How do I transfer workspace ownership?',
            answer:
              'From Settings → Members, promote the new owner, then demote yourself. Ownership transfer requires both parties to confirm via email within 24 hours.',
          },
          {
            category: 'Account',
            question: 'What happens to boards when a teammate leaves?',
            answer:
              'Boards they own reassign to the workspace owner. Scheduled reports keep running; only personal API tokens are revoked at deprovision time.',
          },
          {
            category: 'Security',
            question: 'Is our warehouse data ever stored long-term?',
            answer:
              'Query results cache for performance only, 24 hours on Free, 7 days on Pro. Credentials encrypt at rest with customer-managed keys on Business and above.',
          },
          {
            category: 'Security',
            question: 'Do you support IP allowlisting for the app?',
            answer:
              'Business plans can lock the web app and API to up to 20 CIDR ranges. Changes propagate within five minutes and are logged in the audit trail.',
          },
          {
            category: 'Integrations',
            question: 'Which chat tools can receive alert digests?',
            answer:
              'Slack, Microsoft Teams, and email digests ship on every paid plan. PagerDuty and Opsgenie webhooks are available on Business for severity-paged failures.',
          },
          {
            category: 'Integrations',
            question: 'Can we export boards as PDF for board packs?',
            answer:
              'Pro and above include one-click PDF export with your logo, fixed page size, and optional data-as-of timestamp in the footer. Exports queue and email when ready.',
          },
        ]}
      />
    </div>
  )
}

API reference

FaqTwoColumn accepts the following props.

PropTypeDefaultDescription
headingstring'Questions, answered'
eyebrowstring'FAQ'mono micro-label above the heading, preceded by the primary tick
introstringone sentence under the heading
items*FaqTwoColumnItem[]
columns1 | 22answer columns at md and up; always a single column below
headingLevel2 | 32

…plus everything from React.HTMLAttributes<HTMLElement>: className, event handlers, aria attributes and the rest pass straight through.

Referenced types

Typestsx
export interface FaqTwoColumnItem {
  question: string
  answer: string
  /** mono micro-label above the question, e.g. 'Billing' */
  category?: string
}

Frequently asked questions

How do I install the Two-Column FAQ component?

Register the @cleverui registry in your components.json ("@cleverui": "https://cleverops.com.au/r/{name}.json"), then run `npx shadcn@latest add @cleverui/faq-two-column`. The shadcn CLI copies the source into your project, you own the code from that point. You can also copy the source directly from this page.

What dependencies does Two-Column FAQ require?

Two-Column FAQ uses motion on top of React and Tailwind CSS. You don't need to install it manually, the shadcn CLI resolves and installs npm dependencies automatically when you add the component.

Can I theme Two-Column FAQ to match my brand?

Yes. The component is styled entirely with Tailwind utilities over standard design tokens (primary, background, muted, border), so it inherits your existing shadcn/ui theme automatically. Change your CSS variables and the component follows, no source edits needed for palette, radius, or fonts.

Want this built for you?

CleverUI is built by the Clever Ops web team. If you'd rather ship a hand-coded, fast, custom website than assemble one, we build them for Australian businesses every week.

Explore web development services