Accordion
Dark Accordion
A dark accordion for dark sections: a palette built dark rather than an inverted light one. The open section glows from within — shadows do not work on a dark ground.
What you can change
- the items array: questions and answers
- marker — the shape in the circle: chevron, triangle, square, plus or none
- glow — how the open section is lit: edge, ring or none
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/accordion-011?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 component is self-contained: one file, no dependencies, its own palette in local variables --vibeui-accordion-011-*. Unlike the rest of the family, it does not follow the surrounding color-scheme: it carries a dark palette of its own and that palette does not change. A light accordion on a dark section looks like a sticker cut out and pasted on, so this is a dark variant rather than an inversion of a finished one. The open section is lit from within — shadows do not work on a dark ground, and what exactly does the lighting is decided by the glow prop. Native <details>/<summary> hold the disclosure, and the name attribute holds the exclusivity. Padding and type size are computed from the component's own width through @container.
Tags
- accordion
- dark
- faq
- no-js
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…