> For the complete documentation index, see [llms.txt](https://ed.sunbird.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ed.sunbird.org/use/source-code/ui-user-interface-sunbird-ed-portal/component-style-guide-version-1/toast-messages.md).

# Toast messages

Our toasts are subtle yet effective notifications, featuring color variations such as primary, success, warning, and error. These toasts provide essential feedback and information to users in a visually appealing and unobtrusive manner, enhancing their overall experience within the portal. For more information please refer to this link <https://sunbird-ed.github.io/sunbird-style-guide/dist/#/toasters>

<figure><img src="https://content.gitbook.com/content/h6eC4pApOLA0inzPl7Cw/blobs/1F18fQ2NUXDCUozyhqdg/image%20(48).png" alt=""><figcaption></figcaption></figure>

```html
<div class="sb-toaster sb-toast-info">
  <div class="sb-toast-body">
    <i class="book icon sb-toast-icon"></i>
    <div class="sb-toast-texts">
      <div class="sb-toast-title">Simple Meassage</div>
      <div class="sb-toast-message">message comes here</div>
    </div>
    <span class="sb-toast-close-icon"></span>
  </div>
</div>
<div class="sb-toaster sb-toast-success">
  <div class="sb-toast-body">
    <div class="sb-toast-texts">
      <div class="sb-toast-title">Thank you!</div>
      <div class="sb-toast-message">We have received your download request.
       The file will be sent to your registered email ID shortly.</div>
    </div>
    <span class="sb-toast-close-icon"></span>
  </div>
</div>
<div class="sb-toaster sb-toast-warning">
  <div class="sb-toast-body">
    <i class="warning icon sb-toast-icon"></i>
    <div class="sb-toast-texts">
      <div class="sb-toast-title">Download failed!</div>
      <div class="sb-toast-message">Your profile does not have a valid email ID. Please update your email ID.</div>
    </div>
    <span class="sb-toast-close-icon"></span>
  </div>
</div>
<div class="sb-toaster sb-toast-danger">
  <div class="sb-toast-body">
    <i class="plus icon sb-toast-icon"></i>
    <div class="sb-toast-texts">
      <div class="sb-toast-title">Delete this Content Type</div>
      <div class="sb-toast-message">When you delete a folder you also delete all of its contents.</div>
    </div>
    <span class="sb-toast-close-icon"></span>
  </div>
</div>
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://ed.sunbird.org/use/source-code/ui-user-interface-sunbird-ed-portal/component-style-guide-version-1/toast-messages.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
