Skip to main content

Status indicator

StatusIndicator is a specialized icon to show info, warning, error or success. Use on its own or within another component (e.g., Tooltip) to help convey a message.

Also known as: StatusIcon, Status
Salt package@salt-ds/core
Available since1.0.0

Where possible, use an established Salt component or pattern that includes StatusIndicator, such as Banner, Toast, Tooltip or content status, instead of composing it directly.

  • Use the info indicator when you need to highlight general information.
  • Use the error indicator when communicating a critical issue preventing the user from continuing or completing an action.
  • Use the warning indicator to inform users of an issue or potential issue related to their current task. Use this for issues that don't prevent the user from continuing or completing their task.
  • Use the success indicator to confirm that a user's action is successful.

To import StatusIndicator from the core Salt package, use:

import { StatusIndicator } from "@salt-ds/core";