Demo
Color
1<Checkbox label="Click Me"/>import { Checkbox } from "@dapper-ui/core";1<Checkbox label="Click Me"/>stringAutogenerated random IDbooleanfalsebooleanfalsebooleanfalseWhether or not the checkbox is checked.
stringNoneThe label of the checkbox.
string | undefinedundefinedThe name of a color in the theme. Does not support arbitrary colors.
When set to undefined, the primary color of the theme will be used.
Radius | undefinedundefinedThe border radius of the checkbox. When set to undefined, the checkbox will have the
default border radius defined in the theme.
booleanfalseWhen set to true, automatically focuses the element when the component is mounted.
This is useful for usability and accessibility reasons, for example to focus an element when a modal is opened.
string | undefinedundefinedCustom CSS styles to apply.
Especially useful for positioning styles like margings.