# ToasterProps (@salmonui/notifications/toast)

> The ToasterProps interface of @salmonui/notifications/toast.

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

```ts
import type { ToasterProps } 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: interface

```ts
interface ToasterProps extends Omit<HTMLAttributes<HTMLElement>, 'children' | 'popover'> {
    queue?: ToastQueue | undefined;
    placement?: ToastPlacement | undefined;
    newestOnTop?: boolean | undefined;
    max?: number | undefined;
    container?: Element | null | undefined;
    hotkey?: boolean | undefined;
    localeText?: Partial<ToasterLocaleText> | undefined;
    children?: ReactNode;
    ref?: Ref<HTMLElement> | undefined;
}
```

Members (9):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `queue` | `queue?: ToastQueue \| undefined;` | optional | The queue to render. Default: a queue the `Toaster` creates, reached with `useToast()`. |
| `placement` | `placement?: ToastPlacement \| undefined;` | optional | Region position. Default `'bottomEnd'`. |
| `newestOnTop` | `newestOnTop?: boolean \| undefined;` | optional | Newest toast first in the stack. Default `true`. |
| `max` | `max?: number \| undefined;` | optional | Visible toasts; the rest wait in the queue. Default 5. |
| `container` | `container?: Element \| null \| undefined;` | optional | Renders the region inside this element (scoped, absolutely positioned; give it `position: relative`) instead of the top layer. `null` renders nothing until the element exists. |
| `hotkey` | `hotkey?: boolean \| undefined;` | optional | F6 moves focus into the region and back. Default `true`. |
| `localeText` | `localeText?: Partial<ToasterLocaleText> \| undefined;` | optional | Overrides of the built-in strings. |
| `children` | `children?: ReactNode;` | optional | Content that can call `useToast()` to reach this queue. |
| `ref` | `ref?: Ref<HTMLElement> \| undefined;` | optional | The region element. |
