Skip to content

Bottom Navigation Indicator

Bottom nav indicator demo (Android)

Bottom nav indicator demo (iOS)

A liquid pill that bridges between bottom-nav items as the selection changes.

val state = rememberGooeyNavIndicatorState(selectedIndex = 0)

GooeyNavIndicatorHost(state = state, color = Mint) {
    NavigationBar {
        tabs.forEachIndexed { index, tab ->
            NavigationBarItem(
                modifier = Modifier.gooeyNavItem(state, index),
                selected = state.selectedIndex == index,
                onClick = { state.select(index) },
                icon = { /* ... */ },
            )
        }
    }
}