Input
Checkboxes allow the user to select one or more items from a set.
Import
Default Input
With Label
With Floating Label
Variants
Colors
Props
Prop | Description | Type | Default |
---|---|---|---|
label | label for the input | string | |
floatingLabel | floating label for the input | boolean | false |
className | className for the component | string | |
size | Size of the component | string | base |
color | Color of the component | string | theme.colors.grey |
focusColor | focusColor of the input | string | theme.colors.grey |
disabled | boolean | false | |
required | boolean | false | |
readOnly | boolean | false |