TabChip

fun TabChip(label: String, selected: Boolean, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, onClose: () -> Unit? = null, closeDescription: String = "Close ")

A compact tab, for switching between documents or variants inside a pane.

With onClose, the chip shows a close control described as closeDescription (for example "Close Success"). The close control is a separate accessibility element from the tab itself.