ToolbarItem
<ui5-toolbar-item> | Since 1.17.0The ui5-toolbar-item is a wrapper component used to integrate UI5 Web Components into the ui5-toolbar.
It renders within the toolbar's shadow DOM and manages the lifecycle
and overflow behavior of its child component.
Structure
The toolbar item wraps a single UI5 Web Component (such as CheckBox, Title, etc.) and handles:
- Overflow management (determining if the item should be displayed in the main toolbar or overflow popover)
- Automatic popover closing on interaction
- CSS custom state exposure for styling based on overflow state
Usage
The ui5-toolbar-item is typically used implicitly when adding components to a toolbar,
but specialized wrappers like ui5-toolbar-button provide
component-specific functionality and should be preferred when available.
Properties
overflowPriority
preventOverflowClosing
Slots
default
Events
close-overflow
Methods
No methods available for this component.
CSS Parts
No CSS parts available for this component.