Skip to content
  • Android
  • iOS
  • Web

Toast Host

Mount the host that displays queued notifications.

Engine API NToastHostnayan-ui/components

Live examples

Mount a host once near the root of the app, then enqueue toasts from user actions.

Example.tsx

Attributes

NToastHost attributes
NameTypeDefaultDetails
maxWidthnumberOptionalWidth limit on larger screens; defaults to 480 points.
topnumberOptionalAbsolute top offset. Defaults to the top safe area plus 12 points.

Tags