DevSnips

React Component · Behavior

Multiple Accordion

Multiple-expansion mode: any number of items can stay open at once. `value` and `onValueChange` become `string[]` — the TypeScript types are discriminated by `type="multiple"`, so the compiler enforces the array shape. Includes a controlled demo with external Expand all / Collapse all actions.