Tab

@JvmName(name = "TabState58ed18680f25_1")
fun UiScope.Tab(label: StateSource<UiText>, selected: Boolean, width: Int = 150, enabled: Boolean = true, indicator: TabSelectionIndicator = TabSelectionIndicator.Underline, modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null)(source)
@JvmName(name = "TabState06dab4066e27_1")
fun UiScope.Tab(label: StateSource<String>, selected: Boolean, width: Int = 150, enabled: Boolean = true, indicator: TabSelectionIndicator = TabSelectionIndicator.Underline, modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null)(source)

Observes label for Tab at the next owner-thread frame cutoff.

Retain caller-owned sources and editing state outside reevaluation. See Observe for shared snapshots, equal-value suppression, and cleanup; literal arguments follow Tab. Modifiers and parent data apply to the actual component, while the binding owns its sibling key.


@JvmName(name = "TabState58ed18680f25_2")
fun UiScope.Tab(label: UiText, selected: StateSource<Boolean>, width: Int = 150, enabled: Boolean = true, indicator: TabSelectionIndicator = TabSelectionIndicator.Underline, modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null)(source)
@JvmName(name = "TabState06dab4066e27_2")
fun UiScope.Tab(label: String, selected: StateSource<Boolean>, width: Int = 150, enabled: Boolean = true, indicator: TabSelectionIndicator = TabSelectionIndicator.Underline, modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null)(source)

Observes selected for Tab at the next owner-thread frame cutoff.

Retain caller-owned sources and editing state outside reevaluation. See Observe for shared snapshots, equal-value suppression, and cleanup; literal arguments follow Tab. Modifiers and parent data apply to the actual component, while the binding owns its sibling key.


@JvmName(name = "TabState58ed18680f25_3")
fun UiScope.Tab(label: StateSource<UiText>, selected: StateSource<Boolean>, width: Int = 150, enabled: Boolean = true, indicator: TabSelectionIndicator = TabSelectionIndicator.Underline, modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null)(source)
@JvmName(name = "TabState06dab4066e27_3")
fun UiScope.Tab(label: StateSource<String>, selected: StateSource<Boolean>, width: Int = 150, enabled: Boolean = true, indicator: TabSelectionIndicator = TabSelectionIndicator.Underline, modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null)(source)

Observes label, selected for Tab at the next owner-thread frame cutoff.

Retain caller-owned sources and editing state outside reevaluation. See Observe for shared snapshots, equal-value suppression, and cleanup; literal arguments follow Tab. Modifiers and parent data apply to the actual component, while the binding owns its sibling key.


@JvmName(name = "TabState58ed18680f25_4")
fun UiScope.Tab(label: UiText, selected: Boolean, width: Int = 150, enabled: StateSource<Boolean>, indicator: TabSelectionIndicator = TabSelectionIndicator.Underline, modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null)(source)
@JvmName(name = "TabState06dab4066e27_4")
fun UiScope.Tab(label: String, selected: Boolean, width: Int = 150, enabled: StateSource<Boolean>, indicator: TabSelectionIndicator = TabSelectionIndicator.Underline, modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null)(source)

Observes enabled for Tab at the next owner-thread frame cutoff.

Retain caller-owned sources and editing state outside reevaluation. See Observe for shared snapshots, equal-value suppression, and cleanup; literal arguments follow Tab. Modifiers and parent data apply to the actual component, while the binding owns its sibling key.


@JvmName(name = "TabState58ed18680f25_5")
fun UiScope.Tab(label: StateSource<UiText>, selected: Boolean, width: Int = 150, enabled: StateSource<Boolean>, indicator: TabSelectionIndicator = TabSelectionIndicator.Underline, modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null)(source)
@JvmName(name = "TabState06dab4066e27_5")
fun UiScope.Tab(label: StateSource<String>, selected: Boolean, width: Int = 150, enabled: StateSource<Boolean>, indicator: TabSelectionIndicator = TabSelectionIndicator.Underline, modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null)(source)

Observes label, enabled for Tab at the next owner-thread frame cutoff.

Retain caller-owned sources and editing state outside reevaluation. See Observe for shared snapshots, equal-value suppression, and cleanup; literal arguments follow Tab. Modifiers and parent data apply to the actual component, while the binding owns its sibling key.


@JvmName(name = "TabState58ed18680f25_6")
fun UiScope.Tab(label: UiText, selected: StateSource<Boolean>, width: Int = 150, enabled: StateSource<Boolean>, indicator: TabSelectionIndicator = TabSelectionIndicator.Underline, modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null)(source)
@JvmName(name = "TabState06dab4066e27_6")
fun UiScope.Tab(label: String, selected: StateSource<Boolean>, width: Int = 150, enabled: StateSource<Boolean>, indicator: TabSelectionIndicator = TabSelectionIndicator.Underline, modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null)(source)

Observes selected, enabled for Tab at the next owner-thread frame cutoff.

Retain caller-owned sources and editing state outside reevaluation. See Observe for shared snapshots, equal-value suppression, and cleanup; literal arguments follow Tab. Modifiers and parent data apply to the actual component, while the binding owns its sibling key.


@JvmName(name = "TabState58ed18680f25_7")
fun UiScope.Tab(label: StateSource<UiText>, selected: StateSource<Boolean>, width: Int = 150, enabled: StateSource<Boolean>, indicator: TabSelectionIndicator = TabSelectionIndicator.Underline, modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null)(source)
@JvmName(name = "TabState06dab4066e27_7")
fun UiScope.Tab(label: StateSource<String>, selected: StateSource<Boolean>, width: Int = 150, enabled: StateSource<Boolean>, indicator: TabSelectionIndicator = TabSelectionIndicator.Underline, modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null)(source)

Observes label, selected, enabled for Tab at the next owner-thread frame cutoff.

Retain caller-owned sources and editing state outside reevaluation. See Observe for shared snapshots, equal-value suppression, and cleanup; literal arguments follow Tab. Modifiers and parent data apply to the actual component, while the binding owns its sibling key.


fun UiScope.Tab(label: UiText, selected: Boolean, width: Int = 150, enabled: Boolean = true, indicator: TabSelectionIndicator = TabSelectionIndicator.Underline, modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null)(source)

Emits one externally controlled tab.

The component renders indicator only while selected is true and emits matching tab semantics. It installs neither focus nor activation; compose onActivate with the same enabled state for a shared primary-pointer and focused Enter-or-Space action, while pointer-specific actions remain ordinary modifier behavior.

Receiver

active owner-thread screen scope.

Parameters

label

unresolved tab label.

selected

externally owned selected state.

width

requested logical width.

enabled

whether enabled appearance, hover, and semantics are used.

indicator

selected-state presentation.

modifier

active behavior including caller-owned focus, activation, and pointer actions.

key

optional stable sibling identity.

Throws

when a custom indicator does not emit exactly one root.

when no runtime screen evaluation is active.


fun UiScope.Tab(label: String, selected: Boolean, width: Int = 150, enabled: Boolean = true, indicator: TabSelectionIndicator = TabSelectionIndicator.Underline, modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null)(source)

Literal overload of Tab with the same ownership, failure, and no-implicit-focus-or-activation contract.