Single Open (FAQ)
One panel open at a time, automatically collapsing others.
Molecules
Vertically stacked collapsible section headers.
pnpm add @quinkit/uiimport { Accordion } from "@quinkit/ui";Live previews · code · themes · viewport · dark mode
One panel open at a time, automatically collapsing others.
Allow several panels to stay expanded simultaneously.
Pair each accordion trigger with a visual icon.
Accordion item in a non-interactive disabled state.
Interactive settings inputs and switches inside accordion panels.
Accordion is part of the Week 4–6 free core component set. It follows the shared component standard with TypeScript exports, semantic token styling, accessibility-minded markup, and Storybook examples.
bg-background, text-foreground, border-border, bg-popover, and text-muted-foreground.Accordion adheres to WAI-ARIA design patterns for accessible web components.
Keyboard Navigation
Tab / Shift + Tab — Focuses control and moves between interactive elements.Space / Enter — Triggers action or toggles selection.Escape — Closes open popovers, overlays, or dropdown menus.ARIA Standards
aria-* attributes.ring-ring) visible in both light & dark mode.Add a shadcn-compatible bridge file to your project that re-exports from @quinkit/ui.
npx shadcn@latest add https://quinkit-ui.vercel.app/r/accordion.json