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)

Source-backed Tab observing label at the next frame cutoff. Sources remain caller-owned; compatible nodes retain editing, focus, and scrolling state. Literal arguments keep their existing contracts. Equal source values do not re-evaluate this component. The complete modifier chain stays on the actual component; the wrapper delegates parent data and owns the sibling key. Keep sources and dedicated editing states outside observed callbacks. Evaluation and input failures follow ordinary runtime cleanup.


@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)

Source-backed Tab observing selected at the next frame cutoff. Sources remain caller-owned; compatible nodes retain editing, focus, and scrolling state. Literal arguments keep their existing contracts. Equal source values do not re-evaluate this component. The complete modifier chain stays on the actual component; the wrapper delegates parent data and owns the sibling key. Keep sources and dedicated editing states outside observed callbacks. Evaluation and input failures follow ordinary runtime cleanup.


@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)

Source-backed Tab observing label, selected at the next frame cutoff. Sources remain caller-owned; compatible nodes retain editing, focus, and scrolling state. Literal arguments keep their existing contracts. Equal source values do not re-evaluate this component. The complete modifier chain stays on the actual component; the wrapper delegates parent data and owns the sibling key. Keep sources and dedicated editing states outside observed callbacks. Evaluation and input failures follow ordinary runtime cleanup.


@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)

Source-backed Tab observing enabled at the next frame cutoff. Sources remain caller-owned; compatible nodes retain editing, focus, and scrolling state. Literal arguments keep their existing contracts. Equal source values do not re-evaluate this component. The complete modifier chain stays on the actual component; the wrapper delegates parent data and owns the sibling key. Keep sources and dedicated editing states outside observed callbacks. Evaluation and input failures follow ordinary runtime cleanup.


@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)

Source-backed Tab observing label, enabled at the next frame cutoff. Sources remain caller-owned; compatible nodes retain editing, focus, and scrolling state. Literal arguments keep their existing contracts. Equal source values do not re-evaluate this component. The complete modifier chain stays on the actual component; the wrapper delegates parent data and owns the sibling key. Keep sources and dedicated editing states outside observed callbacks. Evaluation and input failures follow ordinary runtime cleanup.


@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)

Source-backed Tab observing selected, enabled at the next frame cutoff. Sources remain caller-owned; compatible nodes retain editing, focus, and scrolling state. Literal arguments keep their existing contracts. Equal source values do not re-evaluate this component. The complete modifier chain stays on the actual component; the wrapper delegates parent data and owns the sibling key. Keep sources and dedicated editing states outside observed callbacks. Evaluation and input failures follow ordinary runtime cleanup.


@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)

Source-backed Tab observing label, selected, enabled at the next frame cutoff. Sources remain caller-owned; compatible nodes retain editing, focus, and scrolling state. Literal arguments keep their existing contracts. Equal source values do not re-evaluate this component. The complete modifier chain stays on the actual component; the wrapper delegates parent data and owns the sibling key. Keep sources and dedicated editing states outside observed callbacks. Evaluation and input failures follow ordinary runtime cleanup.


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.