StylishBottomAppBar

fun StylishBottomAppBar(actions: @Composable RowScope.() -> Unit, modifier: Modifier = Modifier, floatingActionButton: @Composable () -> Unit? = null, containerColor: Color = MaterialTheme.colorScheme.surfaceContainerHigh, contentColor: Color = contentColorFor(containerColor), tonalElevation: Dp = BottomAppBarDefaults.ContainerElevation, contentPadding: PaddingValues = BottomAppBarDefaults.ContentPadding, windowInsets: WindowInsets = BottomAppBarDefaults.windowInsets)

A Material 3 bottom app bar with Stylish theme defaults.

Displays actions (typically navigation and key actions) at the bottom of the screen, with an optional floatingActionButton embedded at the end. Wraps BottomAppBar with Stylish container colors: MaterialTheme.colorScheme.surfaceContainerHigh. Designed to be placed inside the bottomBar slot of com.segnities007.stylishui.components.patterns.StylishScaffold.

Parameters

actions

The action content, laid out horizontally in a RowScope, typically IconButtons.

modifier

Modifier applied to the BottomAppBar root.

floatingActionButton

Optional floating action button rendered at the end of the bar. When null, no FAB is shown.

containerColor

Background color of the bar. Defaults to MaterialTheme.colorScheme.surfaceContainerHigh, matching the Stylish header and footer containers.

contentColor

Default content color propagated to children. Defaults to contentColorFor of containerColor.

tonalElevation

Tonal elevation of the bar. Defaults to BottomAppBarDefaults.ContainerElevation (0 dp, the M3 spec value).

contentPadding

Padding applied around actions. Defaults to BottomAppBarDefaults.ContentPadding.

windowInsets

WindowInsets consumed by the bar. Defaults to BottomAppBarDefaults.windowInsets so content stays clear of the system navigation bar.

See also