Use Status Message...
- For alert messages that apply to a specific section of the page.
- To communicate the status of an order.
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.
Actions
Use Link when one or more actions are required within a Status Message.
The preview has been updated.
Implementation
Accessible Text For Icon
When the severity of a Status Message is not obvious from text alone, a label for the icon must be provided using the accessibleTextForIcon
prop. This will announce the severity to assistive technology.