View Source DaisyUIComponents.Checkbox (DaisyUIComponents v0.1.1)

Checkbox component

https://daisyui.com/components/checkbox

Summary

Functions

Attributes

  • checked (:boolean) - the checked flag for checkbox inputs. Defaults to nil.
  • value (:any) - Defaults to nil.
  • 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

  • checked (:boolean) - the checked flag for checkbox inputs. Defaults to nil.
  • value (:any) - Defaults to nil.
  • 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"].