Notifications, badges, and feedback elements with minimal markup.
Role-based Alerts
Use role="alert" with data-type for semantic alerts. No
classes needed!
Info: This is a default alert using just role="alert".
Success: Your changes have been saved successfully.
Warning: Please review your settings before continuing.
Error: Something went wrong. Please try again.
<divrole="alert">Default info alert</div><divrole="alert"data-type="success">Success!</div><divrole="alert"data-type="warning">Warning...</div><divrole="alert"data-type="error">Error!</div>