checked | boolean | false | checked | Selected state; supports two-way binding. |
group | any[] | — | group={group} | Array of selected values for a group; bind it together with each option’s value. |
value | any | — | value={value} | Value used in form submission and group selection. |
size | ResourceSize | number | — | size={42} | Component size in pixels, following the Icon size scale: 12, 16, 20, 24, 28, 32, 40, 48, or 80. |
required | boolean | false | required | Participates in native required validation. Empty submission briefly pulses the red border without text, then restores the original state and keeps the focus ring color. |
name | string | — | name="Example" | Native input name; use matching names for a radio group. |
form | string | — | form="Example" | Associated form element id. |
disabled | boolean | false | disabled | Disable user interaction. |
indeterminate | boolean | false | indeterminate | Partially selected state; supports two-way binding. |
onCheckedChange | (checked: boolean) => void | — | onCheckedChange={(value) => { /* handle value */ }} | Callback after the native checked state changes. |
ariaLabel | string | — | ariaLabel="Example" | Accessible name when no visible label is provided. |
children | Snippet | — | <Checkbox>Content</Checkbox> | Visible label content. |
singleLine | boolean | true | singleLine | Labels and controls use one line by default, with stable attachments. A constrained label may show an ellipsis while retaining its complete accessible name and original children. Set false for complex multiline content. Compose Text lines={1} for a full-text tooltip. |
gap | number | — | gap={42} | Inherited Frame gap token index. Omit it for the original component gap; explicit values override the preferred gap. Effective spacing stays at least 4 CSS px, including zero and root-font or gap-scale reductions. Larger preferred gaps are preserved. |
enableResponsive | boolean | false | enableResponsive | Enable responsive behavior. |
enableContext | boolean | false | enableContext | Enable component context. |
| No data |