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