InlineMessage

InlineMessage is used to inform the user about the result of an action within the content.

InlineMessages inform users about the result of an action they took. In contrast to a Banner an InlineMessage can be very close the where the action has taken place. For example: below an input field, next to a button, or within a table.

React examples

Default

An example inline message

Tone variants

  • Critical: Used for errors, like failed actions or form validation errors.
  • Warning: Used for potential issues, risky settings changes, or connectivity concerns.
  • Success: Used to confirm completed actions, like saved settings.
  • Unavailable: Used for UI parts that couldn't load, like missing table data.
A critical inline message
A warning inline message
A success inline message
An unavailable inline message

Size variants

The InlineMessage is available in small and default. Choose the size that best fits the UI section; if both fit, use default.

A default-sized inline message
A small-sized inline message

Props

Loading data for inline_message...