xref: /openbmc/webui-vue/docs/guide/components/alerts/index.md (revision 570a74f61f31a5a94b3200271c1af3a7e35df99c)
1# Alerts
2An alert is an inline message that contains a short description that a user cannot manually dismiss. With exception to the error message on the login page, alerts are not triggered by user action. Success and error notifications based on user actions are created using a toast component.
3
4[Learn more about Bootstrap-vue alert options](https://bootstrap-vue.js.org/docs/components/alert)
5
6![Alert examples](./alert.png)
7
8```vue
9<alert show variant="warning">This is a warning message</alert>
10<alert show variant="danger">This is an error message</alert>
11<alert show variant="info">This is an info message</alert>
12```