Accordion
Organizes related disclosure regions in a semantic, keyboard-accessible set.
@rivetui/accordionPreview
Explore each composition interactively, then open its code in the same context.
Default
The last healthy immutable release remains available. Promote it to production to restore traffic without rebuilding artifacts.
Multiple
Install, validate, and compile the immutable release artifact.
Upload the artifact, run health checks, and move production traffic.
Registry
Installation
Add the component source and its declared dependencies with the shadcn CLI.
Install component
bunx --bun shadcn@latest add @rivetui/accordionPublic interface
API reference
Component-specific props are listed here. Native element and Base UI props continue to pass through.
| Prop | Type | Default |
|---|---|---|
value | string[] | — |
defaultValue | string[] | [] |
onValueChange | (value: string[], details) => void | — |
multiple | boolean | false |
disabled | boolean | false |