Alert
Attract user attention with important static message
Source
Docs
Package
Usage
Alert title
Color
Radius
Styles API
Alert supports Styles API, you can add styles to any inner element of the component withclassNames prop. Follow 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