Toggle · Input · preview
Changes an on-or-off setting that takes effect immediately.
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
- Settings that apply immediately
Avoid it for
- Consent that is confirmed only after submission
Anatomy and accessibility
-
Label
-
Switch
-
Current state
-
Expose the current on-or-off state.
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 |
|---|---|---|---|---|---|
label · Label | text | No | No documented default | "토글" | Android / KMP |
required · Required | boolean | No | false | — | Android / KMP |
readOnly · Read only | boolean | No | false | — | Android / KMP |
disabled · Disabled | boolean | No | false | — | Android / KMP |
helperText · Helper text | text | No | No documented default | — | Android / KMP |
errorText · Error message | text | No | No documented default | — | Android / KMP |
Binding
[
{
"key": "props.bind",
"source": "user",
"path": "screen.toggle",
"mode": "twoWay"
}
]
Supported actions
The component has no default action of its own.
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.