Fully styled custom checkboxes with 3 states: unchecked, checked, and indeterminate
Three States
Size Variants
X Mark Modifier
Select All Pattern
Interactive demo showing indeterminate state for partial selection
How it works:
When none are selected โ "Select All" is unchecked
When some are selected โ "Select All" shows indeterminate state (dash)
When all are selected โ "Select All" is checked
checkbox.indeterminate = true is set via JavaScript. The CSS :indeterminate pseudo-class handles the styling.
Disabled Checkboxes
Disabled state with reduced opacity
Checkbox Lists
Basic Checkbox Lists
Simple vertical checkbox lists with hover effects - full item area is clickable
Default List
Option 2 (Selected)
Option 3
Option 4 (Disabled)
With Descriptions
Email Notifications
Receive updates via email
SMS Alerts
Get urgent alerts via SMS
Push Notifications
Browser push notifications
Item States
Clickable, disabled, and locked states with different visual feedback
State Comparison
Normal clickable option
Disabled - feature not available
Requires admin permission
Pro feature - upgrade required
Normal selected option
State differences:
โข Normal - Full opacity, pointer cursor, default text color
โข Disabled - 50% opacity on entire item, not-allowed cursor, muted color (feature unavailable)
โข Locked - 50% opacity on checkbox only, not-allowed cursor, warning color text with ๐ icon (requires permission)
List Variants
Different styles for checkbox lists
Compact
Compact Option 1
Compact Option 2
Compact Option 3
Bordered
Bordered Option 1
Bordered Option 2
Bordered Option 3
Striped
Striped Option 1
Striped Option 2
Striped Option 3
Striped Option 4
Checkbox Lists with Actions
Lists with action buttons for each item
Task List
Complete project proposal
Review design mockups
Update documentation
Alternative Layouts
Inline, grid, and multi-column layouts
Inline Layout
Option A
Option B
Option C
Option D
Grid Layout
Grid Item 1
Grid Item 2
Grid Item 3
Grid Item 4
Two-Column Layout
Column 1 - Item 1
Column 2 - Item 1
Column 1 - Item 2
Column 2 - Item 2
Three-Column Layout
Col 1 - Item 1
Col 2 - Item 1
Col 3 - Item 1
Col 1 - Item 2
Col 2 - Item 2
Col 3 - Item 2
Tables with Checkboxes
Checkboxes in table first column for row selection