Stylish Snackbar
A snackbar styled with the Stylish design language — rounded corners from StylishTheme.dimensions.connectedCornerRadius and theme-aware container/content colors.
Use together with StylishSnackbarHost to display transient messages at the bottom of the screen.
Parameters
The data driving this snackbar's message, action label, and duration.
Modifier applied to the Snackbar root.
Corner shape. Defaults to RoundedCornerShape with StylishTheme.dimensions.connectedCornerRadius.
Background color.
Text color for the message.
Text color for the action button.
See also
A slot-based snackbar styled with the Stylish design language, for composing the message and action content directly instead of driving the snackbar from a SnackbarData. Carries the same styling as the SnackbarData overload: rounded corners from StylishTheme.dimensions.connectedCornerRadius and theme-aware container/content colors.
Parameters
Modifier applied to the Snackbar root.
Optional composable shown as the snackbar's action area, typically a TextButton. When null, no action is displayed.
Optional composable shown as the dismiss affordance, typically an icon button. When null, no dismiss affordance is displayed.
When true, action is placed on a separate line below the message. Defaults to false.
Corner shape. Defaults to RoundedCornerShape with StylishTheme.dimensions.connectedCornerRadius.
Background color.
Text color for the message.
Text color applied to action.
The snackbar message content.