Toast

stable llms.txt

Temporary notification that appears at the screen edge for non-intrusive feedback and system messages.

Installation

bash
ts

Examples

Explore different variations and use cases

Toast Variants

Trigger different toast types using the Toaster manager.

Declarative

Toast.Root owned entirely by markup — no manager required.

Auto-dismiss

Pass duration to auto-close after the given number of milliseconds.

API Reference

Accessibility

  • Toast.Root renders with role="status" and aria-live="polite" so screen readers announce new toasts
  • Toast.Title and Toast.Description are linked via aria-labelledby / aria-describedby
  • Toast.Close has aria-label="Dismiss notification" and responds to Enter / Space
  • aria-disabled reflects the disabled state on the root element

© 2026 Svelte Atoms. Open source under the MIT license.

Built with Svelte 5 · Runes · TailwindCSS