Button
Observes label for Button 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 Button. Modifiers and parent data apply to the actual component, while the binding owns its sibling key.
Observes enabled for Button 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 Button. Modifiers and parent data apply to the actual component, while the binding owns its sibling key.
Observes label, enabled for Button 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 Button. Modifiers and parent data apply to the actual component, while the binding owns its sibling key.
Emits one fixed-height profile-backed button appearance and semantic surface.
The component does not install focus or activation implicitly. Compose onActivate with the same enabled state when primary pointer and focused Enter or Space presses represent one action, or use pointer modifiers for pointer-specific behavior.
Receiver
active owner-thread screen scope.
Parameters
unresolved button label.
requested logical width.
whether enabled appearance and semantics are used.
active behavior including caller-owned focus, activation, and pointer actions.
optional stable sibling identity.
Throws
when the label does not fit or width is incompatible with the profile.
when no runtime screen evaluation is active.
Emits one literal fixed-height profile-backed button appearance and semantic surface.
Like the typed-label overload, this component installs neither focus nor activation.
Receiver
active owner-thread screen scope.
Parameters
literal converted to UiText.Literal.
requested logical width.
whether enabled appearance and semantics are used.
active behavior including caller-owned focus, activation, and pointer actions.
optional stable sibling identity.
Throws
when the label does not fit or width is incompatible with the profile.
when no runtime screen evaluation is active.