FAQ
FAQ in two columns with colour markers
Festival FAQ: two columns of expandable questions, each with a colour dot marker, the open question fills light grey, the dot grows and the plus rotates into a cross. One open at a time. Top right a “Didn’t find an answer?” line and an accent pill.
What you can change
- items: questions, answers, colours
- eyebrow, title, askText, askLabel, askHref
- accent and background, tone
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-018?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
One file, zero dependencies, a server component. <details name={useId()}> — one open. The summary is a 1.5rem/1fr/1.5rem grid: a dot with item.color in --dot (scale 1.6 when [open]), the text, a plus made of two bars (rotate 45deg when [open]). The answer is a <p> with a fade @keyframes. From 56rem (container query) two columns with align-items:start so an open question does not stretch its neighbour. Palette --vibeui-faq-018-* is neutral: ink and paper via light-dark(), the site colours come through the accent, ink and background props; pill colours live in the data (color and ink per item), so one section can carry all twelve festival colours. Inter Tight and Inter via <link precedence> from Google Fonts with system fallbacks. tone pins the scheme, accent, ink and background override colours.
Tags
- festival
- event
- colorful
- pills
- landing
- faq
- questions
- accordion
- columns
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…