# ToastCloseReason (@salmonui/notifications/toast)

> The ToastCloseReason type of @salmonui/notifications/toast: Why a toast closed.

Canonical: https://salmonui.dev/docs/reference/notifications/toast/ToastCloseReason

```ts
import type { ToastCloseReason } from '@salmonui/notifications/toast';
```

Entry index: https://salmonui.dev/docs/reference/notifications/toast (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/notifications/toast.md).

## Reference

Kind: type

```ts
type ToastCloseReason = 'timeout' | 'dismiss' | 'action' | 'programmatic';
```

Why a toast closed.
