<Checkbox />

A checkbox element. The component will automatically render as a Material Design checkbox on Android devices.

Most attributes that can be used for a normal <input type="checkbox"> element can also be used on the <Checkbox> component.

Tutorial

Props

Name Type Default Value Description
modifier string The appearance of the checkbox. Optional.
disabled bool Specifies whether the checkbox is disabled. Optional.
onChange function Called when the checkbox state changes. Optional.
value string Value of the checkbox. Optional.
checked boolean Controls the state of the checkbox. Optional.
inputId string Specify the “id” attribute of the inner <input> element. This is useful when using

Preset Modifiers

Name Description
material Displays a Material Design checkbox.
noborder iOS borderless checkbox.

Discussion

Need Help?

If you have any questions, use our Community Forum or talk to us via Gitter chat. The Onsen UI team and your peers in the community will work together to help solve your issues.

For bug reports and feature requests use our GitHub Issues page.