Tab
Spark tab.
Tabs organize content across different screens, data sets, and other interactions. This Tab has specific slots for text and / or an icon, and optional trailing content
Parameters
whether this tab is selected or not
called when this tab is clicked
the Modifier to be applied to this tab
label to be displayed
SparkIcon to be displayed before the text or as the main content
text used by accessibility services to describe what this icon represents. This should always be provided unless text is provided. This description should be localized, such as by using androidx.compose.ui.res.stringResource or similar
controls the enabled state of this tab. When false, this component will not respond to user input, and it will appear visually disabled and disabled to accessibility services.
TabIntent used to highlight the selected tab
TabSize to apply to the tab
the MutableInteractionSource representing the stream of Interactions for this tab. You can create and pass in your own remembered instance to observe Interactions and customize the appearance / behavior of this tab in different states.
optional trailing content, typically a [com.adevinta.