Button · Action · stable
Starts an intentional user action such as saving, navigating, or beginning a task.
Android and KMP are declared rendering targets in the contract. Editor scope: Palette+Inspector.
AI authoring: contract flag set; eligible for Stage 3 screen generation. Actual selection depends on the generation route and research input conditions.
Support and authoring conditions were checked against source on 2026-10-13. Properties, behavior and examples below retain the 2026-09-10 reference snapshot; they do not replace device validation.
Preview and property controls
Start the KMP preview and adjust properties to update the example screen and JSON. Reset the example to restore its initial state.
Usage guidance
Use it for
- The primary submit or next step
- A clear secondary action
Avoid it for
- For inline navigation inside a sentence
- When the action outcome cannot be explained
Anatomy and accessibility
-
Action label
-
Visual style
-
Enabled or disabled state
-
Bound action
-
Use a verb label that makes the outcome clear.
-
Explain why the button is disabled nearby or in an error message.
Props contract
Runtime defaults and example values are different. Properties without a documented default remain explicitly unspecified.
| Key · label | Type · constraints | Required | Runtime default | Example | Support |
|---|---|---|---|---|---|
text · Text | text | No | "Button" | "버튼" | Android / KMP |
label · Label | text | No | No documented default | — | Android / KMP |
style · Style | select · filled, tonal, outlined, text | No | "filled" | — | Android / KMP |
disabled · Disabled | boolean | No | false | — | Android / KMP |
cornerRadius · Corner radius | number · min 0 | No | 12 | — | Android / KMP |
height · Height | number · min 48, max 120 | No | No documented default | — | Android / KMP |
backgroundColorRole · Background role | select · text, muted, primary, onPrimary, primaryContainer, onPrimaryContainer, secondaryContainer, onSecondaryContainer, surface, surfaceContainerLowest, surfaceContainerLow, surfaceContainer, onSurface, onSurfaceVariant, error, onErrorContainer, background, surfaceVariant, surfaceContainerHigh, surfaceContainerHighest | No | No documented default | — | Android / KMP |
textColorRole · Text role | select · text, muted, primary, onPrimary, primaryContainer, onPrimaryContainer, secondaryContainer, onSecondaryContainer, surface, surfaceContainerLowest, surfaceContainerLow, surfaceContainer, onSurface, onSurfaceVariant, error, onErrorContainer, background, surfaceVariant, surfaceContainerHigh, surfaceContainerHighest | No | No documented default | — | Android / KMP |
horizontalPadding · Horizontal padding | number · min 12, max 32 | No | No documented default | — | Android / KMP |
width · Width | select · fill, wrap | No | "fill" | — | Android / KMP |
Binding
This static content component has no default binding.
Supported actions
| Event | Android | KMP Preview | Notes |
|---|---|---|---|
onClick | Yes | Yes | — |
Runtime notes
No additional runtime notes are declared. Refer to the contract tables for platform support.
Related components and source
Contract verified: 2026-09-02 · schemaVersion 2.
Based on the reference-site snapshot generated on September 10, 2026. The documentation import date and runtime verification date are separate.