Collapsible
Reveal or collapse an independent section of details.
Basic usage
Place the label inside Collapsible.Trigger. Content stays mounted after the first opening. Use unmountOnExit to remove it on close.
API
Key props and defaults.
| Prop | Values and behavior | Default |
|---|---|---|
Root.variant | outline, soft | outline |
Root.defaultOpen | boolean | false |
Root.open | boolean | — |
Root.disabled | boolean | false |
Root.lazyMount | boolean | true |
Root.unmountOnExit | boolean | false |