Checkbox 复选框

复选框用于选择或取消选择值。

类名
类型
form-control 组件类 Container element
checkbox 组件类 For checkbox
checkbox-primary
装饰类
Adds `primary` to checkbox
checkbox-secondary
装饰类
Adds `secondary` to checkbox
checkbox-accent
装饰类
Adds `accent` to checkbox
checkbox-success
装饰类
Adds `success` to checkbox
checkbox-warning
装饰类
Adds `warning` to checkbox
checkbox-info
装饰类
Adds `info` to checkbox
checkbox-error
装饰类
Adds `error` to checkbox
checkbox-lg
响应类
Large checkbox
checkbox-md
响应类
Medium checkbox (default)
checkbox-sm
响应类
Small checkbox
checkbox-xs
响应类
Extra small checkbox
# Checkbox
# With label and form-control
# Primary color
# Secondary color
# Accent color
# Success color
# Warning color
# Info color
# Error color
# Sizes
# Disabled
# Disabled and checked
# Indeterminate
# Checkbox with custom colors
daisyUI store

New template: SaaS Landing page

Available on daisyUI store

More details