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.

Source
function Checkbox({ tint = colors.blue, xstyle, animate, ...props }: CheckboxProps)

API reference

PropTypeDefaultDescription
tint?stringcolors.blue

Also accepts Omit<PrimitiveProps<'input'>, 'type' | 'as'>. Raw style and className are refused.

Related components