Components/Message Strip
fd-message-strip · 10 examples from SAP's documentation · Back to the gallery
About
Message Strip is a component that enables the embedding of application-related messages in the application. They are useed to draw the user’s attention to information that is important in the context of the page content. This could be a warning or a change of state, that would be easy to miss it.
**Use the message strip if:** - You want to provide information within the detail area of an object. - You want to inform your user about a status of an object. - You want to warn your user about an issue. **Do not use the message strip if:** - You want to display information within the object page header, a control, in the master list, or above the page header. - Container - holds the icon, text and Close button. - Icon (optional) - graphic element within the component. Use the modifier class \ **Use the message strip if:** - You want to provide information within the detail area of an object. - You want to inform your user about a status of an object. - You want to warn your user about an issue. - You want to display information within the object page header, a control, in the master list, or above the page header.
Default
The default message strip can be used for general messages that don’t fit into any of the semantic type use cases.
This is a message.
Information
To display an information message strip, add the `fd-message-strip--information` modifier class to the main element.
Information Message Strip
Success
To display a success message strip, add the `fd-message-strip--success` modifier class to the main element.
Success Message Strip
Warning
To display a warning message strip, add the \
Warning Message Strip
Error
To display the error message strip, add the \
Error Message Strip
No icon
To display message strip without an icon, add the `fd-message-strip--no-icon` modifier class to the main element. Add the `fd-message-strip--dismissible` modifier class if the element is dismissible.
Information Message Strip
Success Message Strip
Warning Message Strip
Error Message Strip
No icon and no dismiss button
To display message strip without an icon, add the `fd-message-strip--no-icon` modifier class to the main element.
Information Message Strip
Success Message Strip
Warning Message Strip
Error Message Strip
Text with link
The Link inside Message Strip has additional styling. Add the fd-message-strip--link modifier class if the message contains a link element. The MessageStrip can include multiple links—not just one. This allows applications to provide additional context or actions related to the message, such as links to: Other apps where the issue originated Apps where the issue can be resolved Related objects or specific sections Help documentation
Information Message Strip Link
Custom icon
The message strip can be customized by changing the status icon. Check <a href=
Message with a custom icon
Error Message Strip
Custom Message Strip
If the application needs a custom Message Strip, other than the semantic variations, then the colours from Inverted Object Status/Tag control should be used. Use the modifier classes \
Message Strip with indication color 1 (Dark Red) Link
Message Strip with indication color 1b (Dark Red) Link
Message Strip with indication color 2 (Red) Link
Message Strip with indication color 2b (Red) Link
Message Strip with indication color 3 (Yellow) Link
Message Strip with indication color 3b (Yellow)
Message Strip with indication color 4 (Green)
Message Strip with indication color 4b (Green)
Message Strip with indication color 5 (Blue)
Message Strip with indication color 5b (Blue)
Message Strip with indication color 6 (Teal)
Message Strip with indication color 6b (Teal)
Message Strip with indication color 7 (Purple)
Message Strip with indication color 7b (Purple)
Message Strip with indication color 8 (Pink)
Message Strip with indication color 8b (Pink)
Message Strip with indication color 9 (Black/White)
Message Strip with indication color 9b (Black/White)
Message Strip with indication color 10 (Grey)
Message Strip with indication color 10b (Grey)