Checkbox
Checkboxes allow users to select one or more items from a list of options.
Prop | Type | Default value |
---|---|---|
Prop label | Type ReactNode | Default value The label text for the checkbox |
Prop orientation | Type "vertical" | "horizontal" | Default value The orientation of the checkbox and label |
Prop variant | Type "default" | "var1" | "var2" | "var3" | "var4" | "var5" | "var6" | Default value The visual variant of the checkbox |
Prop dir | Type "start" | "end" | Default value The direction of the label relative to the checkbox |
Prop disabled | Type boolean | Default value Whether the checkbox is disabled |
Prop defaultChecked | Type boolean | Default value Whether the checkbox is checked by default |