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.
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
- 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.club/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…
How to use
<Accordion011
marker="chevron"
glow="edge"
items={[
{ question: "Does it fit a dark section?", answer: "Yes, it has its own dark palette." },
]}
/>A sample call. The agent installs the component itself from the registry via the “Copy for AI” link.
Settings
- Marker
marker· default: chevron- Glow
glow· default: edge- Accent
accent· default: theme colour- Open section
defaultOpen· default: -1- Single section
exclusive· default: on
More in Accordion
FAQ
- How do I add Dark 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 Dark Accordion depend on?
- No npm packages beyond React and Tailwind CSS.
- What can I change in Dark Accordion?
- Adapt: 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. Keep as installed: the local --vibeui-accordion-011-* palette — do not swap it for your theme tokens (bg-card, border-border and the like); the native details/summary: replacing them with buttons and useState gives up find-on-page, keyboard behaviour and pre-hydration state; the dark palette as it stands: this is not a theme but the design — the component goes into a dark section and must not follow a light environment.
- Is Dark 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/accordion-011.jsonThis 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
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…