A lightweight notification that temporarily appears to confirm an action or alert the user.
Loading component...
Run the following command to add this component to your project:
Import the component directly from the package:
import { Toast } from "@static-ui/ui"Common props available for this component:
| Prop | Type | Description |
|---|---|---|
| className | string | Additional CSS classes to apply. |
Uses `role="status"` or `role="alert"` for live region announcements. Automatically announced by screen readers.