Current section

Files

Jump to
noora docs components sidebargroup.md
Raw

docs/components/sidebargroup.md

<!-- Generated by scripts/generate-web-components.js. Do not edit directly. -->
# SidebarGroup
Groups declarative sidebar destinations.
```html
<noora-sidebar-group label="Projects" default-open><noora-sidebar-item href="/tuist">Tuist</noora-sidebar-item></noora-sidebar-group>
```
## Attributes
| Attribute | Type or allowed values | Default | Description |
| --- | --- | --- | --- |
| `label` | `string` | `""` | Sets the group label. |
| `default-open` | `boolean` | `false` | Expands the group initially. |
| `fixed` | `boolean` | `false` | Keeps the group expanded and removes its collapse interaction. |
## Slots
| Slot | Description |
| --- | --- |
| `default` | The noora-sidebar-item children. |
## Group
Group related sidebar destinations.
```html
<noora-sidebar-group label="Projects" default-open><noora-sidebar-item href="/tuist">Tuist</noora-sidebar-item></noora-sidebar-group>
```