Collapsible
A disclosure component that toggles the visibility of an isolated content region.
For more information on this component configuration, visit Radix UI
API
For more information on this component configuration, visit Radix UI
Collapsible
| Element | Selector |
|---|---|
Collapsible | .ex-collapsible |
| Prop | Type | Default |
|---|---|---|
defaultOpen | boolean | false |
disabled | boolean | false |
open | boolean | false |
onOpenChange | function |
Collapsible Trigger
| Element | Selector |
|---|---|
Collapsible.Trigger | .ex-collapsible-trigger |
| Prop | Type | Default |
|---|---|---|
as | ElementType | div |
asChild | boolean | false |
Collapsible Content
| Element | Selector |
|---|---|
Collapsible.Content | .ex-collapsible-content |
| Prop | Type | Default |
|---|---|---|
as | ElementType | div |
asChild | boolean | false |
forceMount | boolean | false |
Last updated on