Component recipe · Overlays & feedback

Toast

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

Web · liveiOS · native pathAndroid · native path

This is the real BeeUI Web Showcase, lazy-loaded in place. The code tab displays the exact typechecked runtime fixture selected for this preview.

Composition

Public anatomy

  • TOAST_DEFAULT_DURATION
  • TOAST_MAX_VISIBLE
  • useToast

The recipe uses the public @beemvp/beeui-ui boundary. Source-owned consumers can use pnpm beeui -- add toast from a BeeUI checkout.

Contract

What remains canonical

Behavior, accessibility, provider requirements, density/theming and platform limitations stay authoritative in the component docs. This recipe is a fast preview-and-copy surface, not a second API contract.

Read Toast docs →