Skip to content

Feedback

Toast

Also calledsnackbarnotification poptoast notificationflash message

A brief message that appears over the page, usually in a corner, and dismisses itself after a few seconds. It never blocks the page.

How people describe it

  • “small message that pops up in the corner and disappears”
  • “little black bar at the bottom saying saved”
  • “notification that fades away by itself”

Good for

  • Confirming a save or a copy
  • Undo prompts after a delete
  • Non-critical errors

Don’t mix it up with

  • Blocks the page and needs a response.

  • Anchored to a trigger instead of a screen corner.

What your library calls it

LIBRARYCALLS IT
shadcn/uiSonner (the older Toast is deprecated)
MUISnackbar
Chakra UItoaster (v3) / useToast (v2)
MantineNotifications
Radix UIToast

Accessibility checklist

  • Use a polite live region (role=status)
  • Don't auto-dismiss messages people need time to read
  • Pause the timer on hover and focus

Try it

Show a few. Set the time to 0 to keep them until dismissed.

Prompt

Show a toast bottom-right after save. Auto-dismiss in 3s.

~15 estimated prompt tokensDetailed: ~51 estimated prompt tokens

Rough estimate for prompt text only; actual counts vary by model and context.

<div role="status" aria-live="polite" class="toast">Saved</div>

Used in

Explore website blueprints that use this component.