Intro

The message strip is a contro that is used as an information bar. It contains information about an object or a status and can be embedded within the detail area of an object or page.

Usage

Use the message strip if:

Do not use the message strip if:

Responsiveness

The message strip is fully responsive. Icons within the message strip are displayed to the left (custom icons) or right (Close action) of the message. Text and links behave differently and wrap.

If you place the control within the detail area, it will always use 100% of the width and react to the responsiveness of the container.

Message strip on a smartphone (size S)

Message strip on a smartphone (size S)

Message strip on a desktop (size L)

Message strip on a desktop (size L)

Types

The following semantic types are available.

  • Information
  • Warning
  • Error
  • Success

Different semantic types and colors

Different semantic types and colors

Behavior and Interaction

Static behavior

The message strip acts as an information bar. If you want to display a status related to an object, keep the interaction static and do not show the Close button.

Static behavior used to display a status

Static behavior used to display a status

Interactive behavior

Clicking the Close button on the right side hides the message strip.

Interactive behavior with close function

Interactive behavior with close function

Properties

sap.m.MessageStrip is limited to the following properties:

[internal_only]

changes
Currently the sap.m.MessageStrip is limited to specific properties and controls, to prevent that applications misuse the control. If you have additional use cases, which need more “freedom”, please send us your use cases.

[/internal_only]

Resources

Want to dive deeper? Follow the links below to find out more about related controls, the SAPUI5 implementation, and the visual design.

Elements and Controls

Implementation

Visual Design