Tapas UI
Esc
  • IntroductionGetting startedWhat Tapas UI is and where to start.
  • InstallationGetting startedSet up shadcn/ui and add your first section.
  • CLI & AI agentsGetting startedThe shadcn CLI, the @tapas namespace, the MCP server and AI prompts.
  • TemplatesGetting startedWhole pages built from sections, installed with one command.
  • Demo sitesGetting startedThree fictional sites built only from Tapas sections.
  • ThemingCustomizationHow sections pick up your colors and radius.
  • ColorsCustomizationEvery CSS variable sections read, what it is for and where it is used.
  • Dark modeCustomizationSections follow your .dark variables.
  • MotionCustomizationPlain and motion versions, reduced motion and pause controls.
  • AccessibilityCustomizationWhat every section guarantees.
  • Waitlist formsGuidesPost signups to your own API route and store them.
  • Checkout linksGuidesPoint pricing buttons at Stripe payment links or any URL.
Menu
Browse the docs

DocsCompany

FAQ: two column

FAQ with an intro column and contact link beside the questions.

Preview

Version
Preview theme color
More themes

Answers slide open instead of snapping. Still native details/summary underneath. With reduced motion turned on, it renders the plain layout.

Frequently asked questions

Can't find what you need? Sample copy.

Email us
Is it free?

Yes, MIT licensed.

Do I need a package?

No, the code lands in your project.

Does it work with my theme?

Yes, it reads your shadcn tokens.

Frequently asked questions

Can't find what you need? Sample copy.

Email us
Is it free?

Yes, MIT licensed.

Do I need a package?

No, the code lands in your project.

Installation

Run this in a project that already uses shadcn/ui. It adds the component and anything it needs; the motion version also adds the plain one and the motion package.

Usage

import { FaqTwoColumn } from "@/components/custom/faq-two-column";

<FaqTwoColumn
  contact={{ label: "Email us", href: "mailto:hi@example.com" }}
  items={[{ question: "Is it free?", answer: "Yes." }]}
/>
import { FaqTwoColumnMotion } from "@/components/custom/faq-two-column/faq-two-column-motion";

<FaqTwoColumnMotion items={items} />

Props

PropTypeDefaultDescription
items* (required){ question; answer }[]–Questions in order.
contact{ label; href }–Link for anything not answered.
titlestring"Frequently asked questions"Heading (h2).
descriptionstring–Line under the heading.
...propsReact.ComponentProps<"section">–Any other section attribute (id, aria-*, data-*, ref) goes to the root element.
PropTypeDefaultDescription
items* (required){ question; answer }[]–Questions in order.
contact{ label; href }–Link for anything not answered.
titlestring"Frequently asked questions"Heading (h2).
descriptionstring–Line under the heading.
...propsReact.ComponentProps<"section">–Any other section attribute (id, aria-*, data-*, ref) goes to the root element.

Accessibility

  • Native details/summary: keyboard and screen-reader support with no JavaScript.
  • The motion version follows the visitor's reduced-motion setting and never hides content before it animates.