MessageStrip
<ui5-message-strip>
| Since 0.9.0The ui5-message-strip component allows for the embedding of application-related messages. It supports four semantic designs, each with its own color and icon: "Information", "Positive", "Critical", and "Negative". Additionally, users can choose from two color sets ("ColorSet1" and "ColorSet2"), each containing 10 predefined color schemes. Each message shows a "Close" button, so that it can be removed from the UI, if needed.
Usage​
For the ui5-message-strip
component, you can define whether it displays
an icon in the beginning and a close button. Moreover, its size and background
can be controlled with CSS.
Keyboard Handling​
Fast Navigation​
This component provides a build in fast navigation group which can be used via [F6] / [Shift] + [F6] / [Ctrl] + [Alt/Option] / [Down] or [Ctrl] + [Alt/Option] + [Up].
In order to use this functionality, you need to import the following module:
import "@ui5/webcomponents-base/dist/features/F6Navigation.js"
ES6 Module Import​
import "@ui5/webcomponents/dist/MessageStrip.js";
Basic Sample​
Properties​
design​
colorScheme​
hideIcon​
hideCloseButton​
Slots​
default​
icon​
Events​
close​
Methods​
No methods available for this component.
CSS Parts​
No CSS parts available for this component.
More Samples​
Design​
Hide Icon and Close Button​
Use hideIcon and hideCloseButton properties to hide some parts of the MessageStrip.