Skip to content
VenusUI
Get started

Two-column FAQ

Six questions in two smooth accordions, side by side on large screens.

Preview

Installation

npx shadcn@latest add @venusui/faq-02

Run this in a project set up with shadcn. If you haven’t set it up yet, run npx shadcn@latest init first.

Files added to your project

Paths use the default shadcn aliases. The CLI follows the aliases in your components.json.

  • @/components/ui/accordion-smooth.tsxfrom accordion-smooth
  • @/components/faq-02.tsx

Usage

The code behind the preview above.

faq-02-demo.tsx

import { Faq02 } from "@/components/faq-02"

export default function Faq02Demo() {
  return <Faq02 />
}

API reference

No props. Edit the content directly in the file.

Requirements

  • VenusUI accordion-smooth (the CLI installs it).

Customization

  • The answers are placeholders. Replace them with your real policies.

Accessibility

  • Each question is a button with aria-expanded; closed answers are inert.

Troubleshooting

Something looks different from the preview.
Blocks use your project’s theme and your own shadcn components, so they follow your styles.
Unknown registry "@venusui"
Your shadcn CLI couldn’t find the namespace in the shadcn registry index. Use the latest CLI (npx shadcn@latest), install by URL, or register it with its address: npx shadcn@latest registry add @venusui=https://venusui.com/r/{name}.json.
No components.json found
Run npx shadcn@latest init in your project first.