Alert
Attract user attention with important static message
Source
LLM docs
Docs
PackageIcon
Usage
Alert title
Color
Radius
Styles API
Alert supports the Styles API; you can add styles to any inner element of the component with the classNames prop. Follow the Styles API documentation to learn more.
Alert title
Component Styles API
Hover over selectors to highlight corresponding elements
Accessibility
- Root element role set to
alert aria-describedbyset to body element id,aria-labelledbyset to title element id iftitleis provided- Set
closeButtonLabelprop to make close button accessible