ComponentsFeedback

Toast

Feedback components with live demos, API references, and tokens.

Summary

PMatToastService presents compact, non-modal feedback above application content. It owns semantic icons, timed and persistent lifecycles, root-DOM stacking, mobile swipe dismissal, and safe-area placement without requiring an outlet component.

Quick Start

Success feedback

HTML

Usage Guidance

  • Use Toast for short feedback that does not interrupt the current task.
  • Keep the message complete without relying on icon or color.
  • Use inline validation for field errors and a dialog when acknowledgement is required.
  • Do not make a transient Toast action the only path to complete a workflow.