Alert
Inline semantic message, optionally dismissible.
Use Alert for an inline message that needs semantic emphasis within the current page.
Interactive example
Loading interactive example
API
| Member | Type | Kind | Required | Default |
|---|---|---|---|---|
children | Snippet | snippet | No | undefined |
dismissLabel | string | prop | No | 'Dismiss' |
dismissible | boolean | prop | No | false |
icon | IconGlyph | boolean | prop | No | undefined |
iconContent | Snippet | snippet | No | undefined |
onDismiss | () => void | callback | No | undefined |
title | string | prop | No | undefined |
tone | AlertTone | prop | No | 'info' |
Examples
Source
Loading source