> ## Documentation Index
> Fetch the complete documentation index at: https://docs.attio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Notifying the user

> Methods to imperatively give feedback to the user

There are three main ways that you can send a notification to the user:

## [Toasts](./show-toast)

A [toast](https://en.wikipedia.org/wiki/Pop-up_notification) is a subtle, usually temporary,
pop-up notification to let the user know that something is happening or has just happened.

These are useful to show when you are performing asynchronous actions such as loading
or saving data.

You show one using [`showToast()`](./show-toast).

## [Confirmations](./confirm)

Analogous to the
[`window.confirm()`](https://developer.mozilla.org/en-US/docs/Web/API/Window/confirm)
function in web browser JavaScript. The popup is
[modal](https://en.wikipedia.org/wiki/Modal_window).

It is useful when you need to get a yes/no answer back from the user,
e.g. "Are you sure you want to delete this item?".

You show one using [`confirm()`](./confirm).

## [Alerts](./alert)

Analogous to the
[`window.alert()`](https://developer.mozilla.org/en-US/docs/Web/API/Window/alert)
function in web browser JavaScript. The popup is
[modal](https://en.wikipedia.org/wiki/Modal_window).

It is useful when you forcefully let the user know that something has happened.

You show one using [`alert()`](./alert).
