Collapsible
A component that expands and collapses content. Built on Radix UI Collapsible.
Default
3 items
Item 1
Usage
Use Collapsible for simple show/hide behavior on a single section. For multiple collapsible sections, use Accordion instead.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| open | boolean | — | Controlled open state |
| onOpenChange | (open: boolean) => void | — | Callback when state changes |
| disabled | boolean | false | Prevents toggling |