Checkboxes
Checkboxes are inputs that allow users to select multiple options in a list of options, or provides a binary choice when used alone.
Variants
Styles
Alternate styles, .qw-checkbox-primary
, .qw-checkbox-success
, and .qw-checkbox-danger
, may be used in rare occasions. Due to the amount of attention drawn by these alternate styles, they must only be used alone, not in a group. If an alternate style is used, it should follow the general style rules for using danger, primary, and success styles.
No visible label
A checkbox can be displayed with its label visually hidden. This should only be done when their purpose is visually obvious, such as when used as a row selector in a table. For accessibility purposes, it must still have a label.