StylishShortNavigationBar

fun StylishShortNavigationBar(modifier: Modifier = Modifier, containerColor: Color = ShortNavigationBarDefaults.containerColor, contentColor: Color = ShortNavigationBarDefaults.contentColor, windowInsets: WindowInsets = ShortNavigationBarDefaults.windowInsets, arrangement: ShortNavigationBarArrangement = ShortNavigationBarDefaults.arrangement, content: @Composable () -> Unit)

A Material 3 short navigation bar with Stylish theme defaults.

A compact bottom navigation bar for small screens, wrapping ShortNavigationBar unchanged. Unlike StylishNavigationBar, short navigation bars keep only the selected destination's icon visible and collapse the rest, which makes them suitable for up to three destinations. Combine with StylishShortNavigationBarItem.

Parameters

modifier

Modifier applied to the ShortNavigationBar root.

containerColor

Background color of the bar. Defaults to ShortNavigationBarDefaults.containerColor (surfaceContainer), the Material 3 spec value.

contentColor

Default content color propagated to children. Defaults to contentColorFor of containerColor, matching M3.

windowInsets

WindowInsets consumed by the bar. Defaults to ShortNavigationBarDefaults.windowInsets.

arrangement

How items are distributed. Defaults to ShortNavigationBarArrangement.EqualWeight, matching M3.

content

The destinations, typically a sequence of StylishShortNavigationBarItem.

See also