Skip to components
DEVELOPER REFERENCE · v4.0.0

Alert API

Props, callbacks and methods. Select an underlined type to explore its fields, allowed values and callback arguments.

Alert6 props0 callbacks0 methods

Props6

Alert props
NameTypeDescription
toneOptional"danger" | "neutral" | "warning" | "success" | undefinedSemantic status color used for neutral, warning, success or danger feedback.
labelOptionalstring | undefinedLabel content or accessible name for the component, as rendered by this control.
iconOptional
ComponentChildrenInspect type
Icon content for the component. When the type is string, supply trusted SVG markup.
titleOptional
ComponentChildrenInspect type
Heading or title text used by this component.
descriptionOptional
ComponentChildrenInspect type
Supporting text shown with the label or heading.
actionsOptional
ComponentChildrenInspect type
Actions rendered by this component, or action-label overrides for editor fields; expand the declared type.

Events and callbacks0

No component-specific events or callbacks.

Methods0

No component-specific imperative methods. Use props and callbacks to control this component.

Inherited HTML props and events306