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