Skip to content

Tabs

Switches between views with an underline indicator.

Tabs Tabs

var tab by remember {
    mutableIntStateOf(
        value = 0,
    )
}
JengaTabs(
    selectedIndex = tab,
    tabs = listOf(
        "Upcoming",
        "Live",
        "Past",
    ),
    onSelect = { tab = it },
)