FAQ

FAQ built from components: badge and accordion

A link for your AI agent: preview, code and instructions.

Preview

1440pxHost theme
FAQ built from components: badge and accordion — An FAQ section assembled from catalog components: the badge-001 tag above the headline, the button-016 link button for “ask a question”, the question list is accordion-001 on native details/summary with no JS. Two columns from 56rem: headline, lede and the button on the left, the plus-marker accordion on the right. Installs with one command together with its parts.

Use it with AI

  1. 1. Copy the link.
  2. 2. Write to your agent in your own words and drop the link into the sentence.
  3. 3. The agent opens the link and installs the component from the registry.
AI
1Pick it here

put this on the home page as the hero:

https://vibeui.club/c/faq-024?lang=en&theme=dark

2Paste into the chat
3Get it in your project

Not sure where to paste it? Step-by-step guide

Show the full instructions

What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.

Loading…

An FAQ section assembled from catalog components: the badge-001 tag above the headline, the button-016 link button for “ask a question”, the question list is accordion-001 on native details/summary with no JS. Two columns from 56rem: headline, lede and the button on the left, the plus-marker accordion on the right. Installs with one command together with its parts.

React + Tailwind, shadcn-compatible: press “Copy for AI” and your Cursor or Claude Code agent installs it with the shadcn CLI.

What you can change

  • items: question, answer
  • eyebrow, title, lede
  • contactLabel, contactHref

Built from

The install command brings these components too. The block only passes them props: their palette and behaviour stay their own.

How to use

<Faq024
  title="Asked before installing"
  items={[
    { question: "What do I get after installing?", answer: "Component files in your project." },
    { question: "Do I install the parts separately?", answer: "No, the block command brings them too." },
  ]}
/>

A sample call. The agent installs the component itself from the registry via the “Copy for AI” link.

Settings

Title
title · default: Asked before installing
Badge
eyebrow · default: Questions
Button text
contactLabel · default: Ask a question
Marker
marker · default: plus
First open
openFirst · default: on
Button style
buttonTone · default: neutral
Theme
tone · default: auto
Accent
accent · default: theme colour
Background
background · default: theme colour

Similar style and content

Options in the same category with shared tags or a similar content structure.

  • FAQ accordion with a plus-to-cross toggle

    Questions on soft tiles: one open, the plus on the right rotates into a cross and fills with the accent, the answer expands via grid-template-rows 0fr → 1fr. The open tile has an accent ring; the button has aria-expanded and aria-controls. A headline and “ask a question” on the left.

  • Questions before the meeting

    Questions before the first meeting in two columns: heading and an “ask” link on the left, an accordion on the right with serif questions, small-caps numbers and a plus that rotates into a cross. Built on details with a shared name — one answer open.

  • Pre-purchase FAQ with an “ask” card

    Course questions: a sticky heading and a “no answer — ask on Telegram” card on the left, a details accordion with a shared name on the right, a plus rotating into a cross, the open question highlighted with an accent bar on the left.

FAQ

How do I add FAQ built from components: badge and accordion with Cursor or Claude Code?
Press “Copy for AI” on this page and paste it into your agent's chat. The instruction contains the shadcn CLI install command, the dependencies and what to keep, so the agent installs this exact component instead of recreating a lookalike.
What does FAQ built from components: badge and accordion depend on?
No npm packages beyond React and Tailwind CSS. It also installs catalog components: accordion-001, badge-001, button-016, heading-001.
What can I change in FAQ built from components: badge and accordion?
Adapt: items: question, answer; eyebrow, title, lede; contactLabel, contactHref. Keep as installed: the accordion-001, badge-001, button-016, heading-001 imports from @/components/vibeui/ — do not inline their code into the block or swap in your own; the parts receive props only; the parts receive only props from the block (items, marker, defaultOpen, accent, label, href, tone) — do not edit their files or palettes; two columns from 56rem via @container, headline typography in cqi.
Is FAQ built from components: badge and accordion free?
Yes. The preview is open without an account; with a free account you can copy up to 20 components a month.

For developers

npx shadcn@latest add https://vibeui.club/r/pro/faq-024.json

This command needs a signed link: sign in and open “Component source” below — it issues a working link valid for 30 minutes. All install options

Technical notes

A composite block: imports accordion-001, badge-001, button-016, heading-001 from @/components/vibeui/ — the install command brings all four files. The block owns the layout (grid, two columns via container query) and its own text; it passes the components props only (accent, items, marker, label, href) and leaves their --vibeui-<name>-* palettes alone. Theme is light-dark() by the surrounding color-scheme, tone pins the scheme on the section; the parts inside follow it.

Tags

  • faq
  • accordion
  • questions
  • composite
  • badge
  • button
  • support
  • help
  • section
Component source

The same file your agent installs. Here in case you would rather copy it by hand.

Loading…