API reference
Generated from each primitive's $props() declaration.
Collapsible.Root
Content that can be expanded or collapsed.
| Prop | Type | Default | Description |
|---|---|---|---|
| ref bind: | HTMLElement | null | null | |
| open bind: | boolean | false | |
| ...restProps | Record<string, unknown> | — | Remaining attributes, spread onto the underlying element. |
Collapsible.Content
Content that can be expanded or collapsed.
| Prop | Type | Default | Description |
|---|---|---|---|
| ref bind: | HTMLElement | null | null | |
| ...restProps | Record<string, unknown> | — | Remaining attributes, spread onto the underlying element. |
Collapsible.Trigger
Content that can be expanded or collapsed.
| Prop | Type | Default | Description |
|---|---|---|---|
| ref bind: | HTMLElement | null | null | |
| ...restProps | Record<string, unknown> | — | Remaining attributes, spread onto the underlying element. |