View Source DaisyUIComponents.Toggle (DaisyUIComponents v0.7.1)
Stat component
Summary
Functions
Attributes
class
(: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:
["checked"]
.