Tab

fun TabPanelScope.Tab(text: String, modifier: Modifier = Modifier)(source)

Convenience method for creating a Tab that is just text.

Using it looks like this:

TabPanel {
Tab("Tab")
Panel { /* ... */}
}