Checkbox
Native checkbox drawn as macOS Calendar's tinted square: hollow at rest, filled with a white tick when checked. tint is any CSS colour. Supply a visible label or aria-label.
function Checkbox({ tint = colors.blue, xstyle, animate, ...props }: CheckboxProps)API reference
| Prop | Type | Default | Description |
|---|---|---|---|
tint? | string | colors.blue |
Also accepts Omit<PrimitiveProps<'input'>, 'type' | 'as'>. Raw style and className are refused.
Related components
HStackA horizontal row of children, centred on the cross axis. The kit had no horizontal primitive, so every app wrote its own flex block: reach for this before a `stylex.create`.IconButtonA toolbar button that is only a symbol: the plus, the chevrons, the sidebar toggle. `plain` sits on the bar, `tinted` is a rounded square over `fill`, `round` is the small circle a stepper uses. The label is required because the glyph is decorative.LargeTitleThe existing 34-point large app title. It wraps naturally at cover width.