View Source DaisyUIComponents.Checkbox (DaisyUIComponents v0.7.1)
Checkbox component
Summary
Functions
Attributes
class(:any) - Defaults tonil.checked(:boolean) - the checked flag for checkbox inputs. Defaults tonil.value(:any) - Defaults tonil.color(:string) - Must be one of"primary","secondary","accent","info","success","warning", or"error".size(:string) - Must be one of"xs","sm","md", or"lg".- Global attributes are accepted. Supports all globals plus:
["name"].
Functions
Attributes
class(:any) - Defaults tonil.checked(:boolean) - the checked flag for checkbox inputs. Defaults tonil.value(:any) - Defaults tonil.color(:string) - Must be one of"primary","secondary","accent","info","success","warning", or"error".size(:string) - Must be one of"xs","sm","md", or"lg".- Global attributes are accepted. Supports all globals plus:
["name"].