Sie ist Teil der Sidebar-Komponente.
The sbb-sidebar-title component extends the sbb-title component.
Use it inside the sbb-sidebar
to display a header in the sidebar with a title.
The slot title-section is automatically assigned to be properly positioned on the sbb-sidebar.
<sbb-sidebar role="navigation">
<sbb-sidebar-title>A describing title of the sidebar</sbb-sidebar-title>
</sbb-sidebar>
In scenarios where the visual representation needs to be different from the semantic meaning of the title level,
it is possible to use the visualLevel property (default value: 5).
| Name | Attribute | Privacy | Type | Default | Description |
|---|---|---|---|---|---|
level | level | public | SbbTitleLevel | '2' | Title level |
visualLevel | visual-level | public | SbbTitleLevel | null | '5' | Visual level for the title. |
| Name | Description |
|---|---|
| Use the unnamed slot for the content of the sidebar-title. |