NavGroup
Labelled grouping inside a NavList — Label, Collapsible, DefaultOpen
Interactive-mode
Examples
Non-collapsible (static label)
Collapsible (start collapsed)
API
The element family below can be composed together. Click an element to jump to its properties.
| Element | Purpose |
|---|---|
| NavGroup | Labelled grouping inside a NavList. When Collapsible=true, the label becomes a toggle button — clicking it expands/collapses ChildContent, with a chevron indicating state. As a single labelled grouping it doesn't expose wrapper-styling parameters. |
NavGroup
Labelled grouping inside a NavList. When Collapsible=true, the label becomes a toggle button — clicking it expands/collapses ChildContent, with a chevron indicating state. As a single labelled grouping it doesn't expose wrapper-styling parameters.
| Property | Type | Required | Description |
|---|---|---|---|
| Label | string | Group label. Rendered as a small uppercase muted caption (or a toggle button when Collapsible=true). | |
| Collapsible | bool | When true, the label is a <button> that toggles ChildContent visibility on click. Default: false. | |
| DefaultOpen | bool | Initial open/closed state when Collapsible=true. Default: true. | |
| ChildContent | RenderFragment? | Group items — typically NavListItems. |