Overlays & feedback component recipe

Toast

Provider-scoped runtime for toast notifications, exposed via useToast (show/dismiss/dismissAll) with FIFO queueing and safe-area-aware stacking.

Live Web preview

Toast

Web · liveiOS · native pathAndroid · native path

The iframe loads the real Showcase route; the source tab below is the exact typechecked fixture used for this component family.

Composition

Public symbols

TOAST_DEFAULT_DURATION TOAST_MAX_VISIBLE useToast

Types: ToastAction ToastApi ToastDuration ToastId ToastOptions ToastVariant

Ownership boundary

Component source, not app state.

BeeUI owns reusable UI behavior and semantics. Networking, routing, persistence, business validation, and domain side effects stay in your application.