<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5HGSQD2L" height="0" width="0" style="display:none;visibility:hidden" title="GTM"></iframe>

Status Message

Context-level notice to draw attention to success, information, warning, error, or help messages.
styleKeys: statusMessage

Use Status Message...

  • For alert messages that apply to a specific section of the page.
  • To communicate the status of an order.

Don't use Status Message...

  • For alert messages that apply to an entire page, or that float over page content. Use Alert Box instead.
  • For individual form field errors. Refer to Error guidelines for Forms.

The preview has been updated.

Skin

The skin prop dictates the styling and Icon rendered in a Status Message.

Info

Use skin="info" for standard messages. This is the default skin.

The preview has been updated.

Success

Use skin="success" for positive or success messages.

The preview has been updated.

Warning

Use skin="warning" for cautionary messages.

The preview has been updated.

Error

Use skin="error" for error or critical messages.

The preview has been updated.

Help

Use skin="help" for messages directing users to further help such as CARE.

The preview has been updated.

Size

Use size="mini" to reduce the size of a Status Message.

The preview has been updated.

Best practices

  • Ensure the semantic intent of the message matches the skin.
  • Don't use too many Status Messages on a single page.

Props

StatusMessage
This component is implemented using the <div /> as the root element. You can utilize the native attributes supported by <div /> tag. The ref is directly assigned to the root element, allowing you to access and manipulate it as needed.
See core props for additional props that can be applied to this component.
proptyperequireddescriptiondefault
skin"info" | "success" | "warning" | "error" | "help"false
The visual style of the StatusMessage
info
size"standard" | "small"false
The size of the StatusMessage
standard