Snackbar

Snackbar

Queued transient messages via SnackbarProvider
npx rootnative add snackbar
Message only
Times out after the MD3 short duration (4s).
With an action
A snackbar carrying an action waits indefinitely — an undo the user never sees is worse than one that waits.
Last dismissal: —
Close button
showCloseIcon gives an indefinite snackbar a way out.
Queue
One at a time, FIFO. `replace` jumps the visible one instead of queueing behind it.
Two lines
48dp single line, 68dp at two. Longer text truncates.
Color overrides