Toolbar
The ui5-toolbar
component is used to create a horizontal layout with items.
The items can be overflowing in a popover, when the space is not enough to show all of them.
Keyboard Handling​
The ui5-toolbar
provides advanced keyboard handling.
- The control is not interactive, but can contain of interactive elements
- [Tab] - iterates through elements
ES6 Module Import​
import "@ui5/webcomponents/dist/Toolbar.js";
Basic Sample​
Properties​
alignContent​
accessibleName​
accessibleNameRef​
Slots​
default​
Events​
No events available for this component.
Methods​
isOverflowOpen​
CSS Parts​
No CSS parts available for this component.
More Samples​
Always Overflowing Items​
To force items into the overflow, set "overflow-priority='AlwaysOverflow'" on the Toolbar items.
Never Overflowing Items​
To force items staying always visible and never overflow, set "overflow-priority='NeverOverflow'" on the Toolbar items.
Spacers and Separators​
Items Alignment​
You can align items to the Start, or to the End via the "align-content" property