FAQ
Exclusive Accordion FAQ
An accordion where exactly one answer is open at a time. The browser itself coordinates it through a shared name attribute on the details elements — no JS.
What you can change
- eyebrow and title — the eyebrow and the section heading
- the items array — the questions and answers; the numbering counts itself
- name — the accordion group name; on a page with two such sections it has to differ
A link for your AI agent: preview, code and instructions.
Preview
Use it with AI
- 1. Copy the link.
- 2. Write to your agent in your own words and drop the link into the sentence.
- 3. The agent opens the link and installs the component from the registry.
put this on the home page as the hero:
https://vibeui.ru/c/faq-004?lang=en&theme=dark
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…
For developers
The install command lives in the “Component source” block below — a signed link that stays valid for 24 hours.
Technical notes
The block is self-contained: one file, no dependencies, its own palette in local variables --vibeui-faq-004-*. A server component. Every <details> gets the same name attribute and the browser closes the previous answer when the next one opens: this is the standard behaviour of an exclusive accordion, not an emulation on state. The heading and the numbers are set in a serif face, the questions in a sans one: the typeface contrast separates the spoken part from the functional one. The layout is narrow by design — long answers about terms are read in one column.
Tags
- faq
- accordion
- details
- exclusive
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…