checkbox
Drawn with appearance: none; semantics, keyboard, and forms stay native.
Example
Basic usage
<label><input type="checkbox" checked /> Remember me</label>API
This is a native input type="checkbox". Checked, disabled, indeterminate, events, and form behavior remain native; Mica adds only presentation.
Content/markup contracts
| Content | Contract | Default | Description |
|---|---|---|---|
label | wrap the input or use for | — | Provides the accessible name and click target. A wrapping label dims with its disabled control. |
Styling
| State | Native source | Default | Description |
|---|---|---|---|
| Checked | checked | false | Primary fill with a glyph. |
| Indeterminate | HTMLInputElement.indeterminate | false | Primary fill with a drawn dash. Set this native property from script. |
Notes
Checked is primary fill + glyph; indeterminate is a drawn dash. A label wrapping the control becomes the click target and dims when disabled.