Android components Navigation
StanceTabs
BetaSwitches between views of the same context, fixed or scrollable.
- PlatformAndroid, Jetpack Compose
- Builds on
PrimaryTabRow - Kindcomposable
Preview
Rendered by the Jetpack Compose library, not drawn by hand.






Usage
var selected by remember { mutableIntStateOf(0) }
StanceTabs(listOf("Details", "Rollout", "History"), selected, onSelect = { selected = it })Accessibility
- Tabs are announced with their selected state.