TitleBar
The TitleBar component can be used for a consistent layout for section titles and provides layout slots for interactive and navigational elements.
TitleBarProps
extends
, , , , | Name | Type | Default | Description |
|---|---|---|---|
showDivider? | true | Whether a divider is displayed after the TitleBar component. |
TitleBar.Navigation
TitleBarNavigationProps
extends
, | Name | Type | Default | Description |
|---|---|---|---|
children | | Elements to be displayed in the TitleBar Navigation slot. |
TitleBar.Action
TitleBarActionProps
extends
, | Name | Type | Default | Description |
|---|---|---|---|
children | | Elements to be displayed in the TitleBar Action slot. |
TitleBar.Prefix
TitleBarPrefixProps
extends
, | Name | Type | Default | Description |
|---|---|---|---|
children | | Elements to be displayed in the TitleBar Prefix slot. |
TitleBar.Suffix
TitleBarSuffixProps
extends
, | Name | Type | Default | Description |
|---|---|---|---|
children | | Elements to be displayed in the TitleBar Suffix slot. |
TitleBar.Subtitle
TitleBarSubtitleProps
extends
, | Name | Type | Default | Description |
|---|---|---|---|
children | | Elements to be displayed in the TitleBar Subtitle slot. |
TitleBar.Title
TitleBarTitleProps
extends
, | Name | Type | Default | Description |
|---|---|---|---|
children | | Elements to be displayed in the TitleBar Title slot. | |
as? | | | | | | | 'h2' | The semantic HTML heading element rendered by TitleBar.Title. Use this to fit the TitleBar into your page's document outline. |
level? | 1 | 2 | 3 | 4 | 5 | 6 | 3 | The visual heading size. Corresponds to the heading scale defined in the design system. |