ONONC

Alert

Semantic callouts for info, success, warning, and errors.

feedbacka11y

Payment received

Your invoice has been paid in full.

Customize

Variant
Title
Body
Dismissible

Props

PropTypeDefaultDescription
variant"info" | "success" | "warning" | "danger""info"Semantic style + icon; danger announces assertively.
titleReactNodeBold heading line.
childrenReactNodeBody content.
dismissiblebooleanfalseRender a close button that animates the alert out.
onDismiss() => voidCalled after the alert is dismissed.
classNamestringExtra classes.