Back to Ignite

Checkbox

docs/boilerplate/app/components/Checkbox.md

11.5.0373 B
Original Source

import ToggleProps from './_toggle_props.mdx';

Checkbox

The Checkbox component provides a simple way to collect user input for a boolean value.

Checkbox Props

icon

The icon is a prop for the checkbox variant that allows you to customize the icon used for the "on" state.

tsx
<Checkbox icon="ladybug" />
<ToggleProps componentName="Checkbox" />