Box styles
Every look below is a handful of --c2-checkbox__container* custom properties on top of the default blue fill.
Exit
ResetSave to collection
Default Customized < c2-checkbox checked ></ c2-checkbox > Exit
ResetSave to collection
Neutral Customized < style >
.neutral {
--c2-checkbox__container__selected--background-color : #18181b ;
--c2-checkbox__container--border-top : 1 px solid #a1a1aa ;
--c2-checkbox__container--border-right : 1 px solid #a1a1aa ;
--c2-checkbox__container--border-bottom : 1 px solid #a1a1aa ;
--c2-checkbox__container--border-left : 1 px solid #a1a1aa ;
--c2-checkbox__container__focus--outline : 2 px solid rgba ( 24 , 24 , 27 , 0.3 );
}
</ style >
< c2-checkbox checked class = "neutral" ></ c2-checkbox > Exit
ResetSave to collection
Rounded brand Customized < style >
.rounded-brand {
--c2-checkbox__container--border-top-left-radius : 999 px ;
--c2-checkbox__container--border-top-right-radius : 999 px ;
--c2-checkbox__container--border-bottom-left-radius : 999 px ;
--c2-checkbox__container--border-bottom-right-radius : 999 px ;
--c2-checkbox__container__selected--background-color : #7c3aed ;
--c2-checkbox__container__focus--outline : 2 px solid rgba ( 124 , 58 , 237 , 0.4 );
}
</ style >
< c2-checkbox checked class = "rounded-brand" ></ c2-checkbox > Exit
ResetSave to collection
Large square Customized < style >
.large-square {
--c2-checkbox__container--width : 24 px ;
--c2-checkbox__container--height : 24 px ;
--c2-checkbox__checkmark--size : 16 px ;
--c2-checkbox__state-layer--size : 40 px ;
--c2-checkbox__container--border-top-left-radius : 2 px ;
--c2-checkbox__container--border-top-right-radius : 2 px ;
--c2-checkbox__container--border-bottom-left-radius : 2 px ;
--c2-checkbox__container--border-bottom-right-radius : 2 px ;
--c2-checkbox__container__selected--background-color : #18181b ;
}
</ style >
< c2-checkbox checked class = "large-square" ></ c2-checkbox > Exit
ResetSave to collection
Outline success Customized < style >
.outline-success {
--c2-checkbox__container__selected--background-color : transparent ;
--c2-checkbox__container__selected--border-top : 2 px solid #16a34a ;
--c2-checkbox__container__selected--border-right : 2 px solid #16a34a ;
--c2-checkbox__container__selected--border-bottom : 2 px solid #16a34a ;
--c2-checkbox__container__selected--border-left : 2 px solid #16a34a ;
--c2-checkbox__checkmark--color : #16a34a ;
--c2-checkbox__container__focus--outline : 2 px solid rgba ( 22 , 163 , 74 , 0.4 );
}
</ style >
< c2-checkbox checked class = "outline-success" ></ c2-checkbox > Exit
ResetSave to collection
Soft tint Customized < style >
.soft-tint {
--c2-checkbox__container--background-color : #f4f4f5 ;
--c2-checkbox__container--border-top : 1 px solid transparent ;
--c2-checkbox__container--border-right : 1 px solid transparent ;
--c2-checkbox__container--border-bottom : 1 px solid transparent ;
--c2-checkbox__container--border-left : 1 px solid transparent ;
--c2-checkbox__container__selected--background-color : #dbeafe ;
--c2-checkbox__checkmark--color : #1d4ed8 ;
--c2-checkbox__mixedmark--color : #1d4ed8 ;
}
</ style >
< c2-checkbox checked class = "soft-tint" ></ c2-checkbox >
Hover and size
The touch target is the hover layer. It is transparent by default: give it a colour for a tint, round it for the Material halo, or shrink it to the box for an inline checkbox.
Exit
ResetSave to collection
Square hover tint Customized < style >
.square-tint {
--c2-checkbox__state-layer__hover__unselected--color : #18181b ;
--c2-checkbox__state-layer__hover__selected--color : #476ef9 ;
--c2-checkbox__container__selected__hover--background-color : #2f56e6 ;
}
</ style >
< c2-checkbox checked class = "square-tint" ></ c2-checkbox > Exit
ResetSave to collection
Material halo Customized < style >
.material-halo {
--c2-checkbox__state-layer--size : 40 px ;
--c2-checkbox__state-layer--border-top-left-radius : 999 px ;
--c2-checkbox__state-layer--border-top-right-radius : 999 px ;
--c2-checkbox__state-layer--border-bottom-left-radius : 999 px ;
--c2-checkbox__state-layer--border-bottom-right-radius : 999 px ;
--c2-checkbox__state-layer__hover__unselected--color : #bcbcc6 ;
--c2-checkbox__state-layer__hover__selected--color : #476ef9 ;
}
</ style >
< c2-checkbox checked class = "material-halo" ></ c2-checkbox > Exit
ResetSave to collection
Compact Customized < style >
.compact {
--c2-checkbox__state-layer--size : 16 px ;
--c2-checkbox__container--width : 16 px ;
--c2-checkbox__container--height : 16 px ;
--c2-checkbox__checkmark--size : 11 px ;
--c2-checkbox__container--border-top-left-radius : 3 px ;
--c2-checkbox__container--border-top-right-radius : 3 px ;
--c2-checkbox__container--border-bottom-left-radius : 3 px ;
--c2-checkbox__container--border-bottom-right-radius : 3 px ;
}
</ style >
< c2-checkbox checked class = "compact" ></ c2-checkbox >
Marks and icon toggles
The checkmark, mixedmark and uncheckmark slots take any SVG. Remove the box (zero borders, transparent fills) and the checkbox becomes an icon toggle with native checkbox semantics.
Exit
ResetSave to collection
Tick only Customized < style >
.tick-only {
--c2-checkbox__container--border-top : 0 px solid transparent ;
--c2-checkbox__container--border-right : 0 px solid transparent ;
--c2-checkbox__container--border-bottom : 0 px solid transparent ;
--c2-checkbox__container--border-left : 0 px solid transparent ;
--c2-checkbox__container__selected--background-color : transparent ;
--c2-checkbox__checkmark--size : 20 px ;
--c2-checkbox__checkmark--color : #2563eb ;
--c2-checkbox__uncheckmark--size : 20 px ;
--c2-checkbox__uncheckmark--color : #d4d4d8 ;
}
</ style >
< c2-checkbox checked class = "tick-only" >
< svg slot = "checkmark" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2.5" stroke-linecap = "round" stroke-linejoin = "round" >< polyline points = "20 6 9 17 4 12" ></ polyline ></ svg >
< svg slot = "uncheckmark" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2.5" stroke-linecap = "round" stroke-linejoin = "round" >< polyline points = "20 6 9 17 4 12" ></ polyline ></ svg >
</ c2-checkbox > Exit
ResetSave to collection
Stroke check Customized < style >
.stroke-check {
--c2-checkbox__container--border-top : 1.5 px solid #18181b ;
--c2-checkbox__container--border-right : 1.5 px solid #18181b ;
--c2-checkbox__container--border-bottom : 1.5 px solid #18181b ;
--c2-checkbox__container--border-left : 1.5 px solid #18181b ;
--c2-checkbox__container__selected--background-color : #18181b ;
--c2-checkbox__checkmark--size : 12 px ;
--c2-checkbox__container__focus--outline : 2 px solid rgba ( 24 , 24 , 27 , 0.3 );
}
</ style >
< c2-checkbox checked class = "stroke-check" >
< svg slot = "checkmark" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "3" stroke-linecap = "round" stroke-linejoin = "round" >< polyline points = "20 6 9 17 4 12" ></ polyline ></ svg >
</ c2-checkbox > Exit
ResetSave to collection
Circle Customized < style >
.circle {
--c2-checkbox__container--width : 20 px ;
--c2-checkbox__container--height : 20 px ;
--c2-checkbox__container--border-top-left-radius : 999 px ;
--c2-checkbox__container--border-top-right-radius : 999 px ;
--c2-checkbox__container--border-bottom-left-radius : 999 px ;
--c2-checkbox__container--border-bottom-right-radius : 999 px ;
--c2-checkbox__container--border-top : 1.5 px solid #a1a1aa ;
--c2-checkbox__container--border-right : 1.5 px solid #a1a1aa ;
--c2-checkbox__container--border-bottom : 1.5 px solid #a1a1aa ;
--c2-checkbox__container--border-left : 1.5 px solid #a1a1aa ;
--c2-checkbox__container__selected--background-color : #16a34a ;
--c2-checkbox__checkmark--size : 12 px ;
--c2-checkbox__container__focus--outline : 2 px solid rgba ( 22 , 163 , 74 , 0.4 );
}
</ style >
< c2-checkbox checked class = "circle" >
< svg slot = "checkmark" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "3" stroke-linecap = "round" stroke-linejoin = "round" >< polyline points = "20 6 9 17 4 12" ></ polyline ></ svg >
</ c2-checkbox > Exit
ResetSave to collection
Cross mark Customized < style >
.cross-mark {
--c2-checkbox__container__selected--background-color : #dc2626 ;
--c2-checkbox__checkmark--size : 12 px ;
--c2-checkbox__container__focus--outline : 2 px solid rgba ( 220 , 38 , 38 , 0.4 );
}
</ style >
< c2-checkbox checked class = "cross-mark" >
< svg slot = "checkmark" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "3" stroke-linecap = "round" stroke-linejoin = "round" >< path d = "M18 6L6 18M6 6l12 12" ></ path ></ svg >
</ c2-checkbox > Exit
ResetSave to collection
Favourite Customized < style >
.favourite {
--c2-checkbox__container--width : 24 px ;
--c2-checkbox__container--height : 24 px ;
--c2-checkbox__container--border-top : 0 px solid transparent ;
--c2-checkbox__container--border-right : 0 px solid transparent ;
--c2-checkbox__container--border-bottom : 0 px solid transparent ;
--c2-checkbox__container--border-left : 0 px solid transparent ;
--c2-checkbox__container__selected--background-color : transparent ;
--c2-checkbox__checkmark--size : 22 px ;
--c2-checkbox__checkmark--color : #e11d48 ;
--c2-checkbox__uncheckmark--size : 22 px ;
--c2-checkbox__uncheckmark--color : #a1a1aa ;
--c2-checkbox__state-layer--size : 36 px ;
--c2-checkbox__state-layer--border-top-left-radius : 999 px ;
--c2-checkbox__state-layer--border-top-right-radius : 999 px ;
--c2-checkbox__state-layer--border-bottom-left-radius : 999 px ;
--c2-checkbox__state-layer--border-bottom-right-radius : 999 px ;
--c2-checkbox__state-layer__hover__unselected--color : #e11d48 ;
--c2-checkbox__state-layer__hover__selected--color : #e11d48 ;
--c2-checkbox__container__focus--outline : 2 px solid rgba ( 225 , 29 , 72 , 0.4 );
}
</ style >
< c2-checkbox checked class = "favourite" >
< svg slot = "checkmark" viewBox = "0 0 24 24" fill = "currentColor" stroke = "currentColor" stroke-width = "2" stroke-linejoin = "round" >< path d = "M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z" ></ path ></ svg >
< svg slot = "uncheckmark" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linejoin = "round" >< path d = "M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z" ></ path ></ svg >
</ c2-checkbox > Exit
ResetSave to collection
Star Customized < style >
.star {
--c2-checkbox__container--width : 24 px ;
--c2-checkbox__container--height : 24 px ;
--c2-checkbox__container--border-top : 0 px solid transparent ;
--c2-checkbox__container--border-right : 0 px solid transparent ;
--c2-checkbox__container--border-bottom : 0 px solid transparent ;
--c2-checkbox__container--border-left : 0 px solid transparent ;
--c2-checkbox__container__selected--background-color : transparent ;
--c2-checkbox__checkmark--size : 22 px ;
--c2-checkbox__checkmark--color : #f59e0b ;
--c2-checkbox__uncheckmark--size : 22 px ;
--c2-checkbox__uncheckmark--color : #a1a1aa ;
--c2-checkbox__state-layer--size : 36 px ;
--c2-checkbox__state-layer--border-top-left-radius : 999 px ;
--c2-checkbox__state-layer--border-top-right-radius : 999 px ;
--c2-checkbox__state-layer--border-bottom-left-radius : 999 px ;
--c2-checkbox__state-layer--border-bottom-right-radius : 999 px ;
--c2-checkbox__state-layer__hover__unselected--color : #f59e0b ;
--c2-checkbox__state-layer__hover__selected--color : #f59e0b ;
--c2-checkbox__container__focus--outline : 2 px solid rgba ( 245 , 158 , 11 , 0.4 );
}
</ style >
< c2-checkbox checked class = "star" >
< svg slot = "checkmark" viewBox = "0 0 24 24" fill = "currentColor" stroke = "currentColor" stroke-width = "2" stroke-linejoin = "round" >< polygon points = "12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2" ></ polygon ></ svg >
< svg slot = "uncheckmark" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linejoin = "round" >< polygon points = "12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2" ></ polygon ></ svg >
</ c2-checkbox > Exit
ResetSave to collection
Bookmark Customized < style >
.bookmark {
--c2-checkbox__container--width : 24 px ;
--c2-checkbox__container--height : 24 px ;
--c2-checkbox__container--border-top : 0 px solid transparent ;
--c2-checkbox__container--border-right : 0 px solid transparent ;
--c2-checkbox__container--border-bottom : 0 px solid transparent ;
--c2-checkbox__container--border-left : 0 px solid transparent ;
--c2-checkbox__container__selected--background-color : transparent ;
--c2-checkbox__checkmark--size : 22 px ;
--c2-checkbox__checkmark--color : #18181b ;
--c2-checkbox__uncheckmark--size : 22 px ;
--c2-checkbox__uncheckmark--color : #52525b ;
--c2-checkbox__state-layer--size : 36 px ;
--c2-checkbox__state-layer__hover__unselected--color : #18181b ;
--c2-checkbox__state-layer__hover__selected--color : #18181b ;
--c2-checkbox__container__focus--outline : 2 px solid rgba ( 24 , 24 , 27 , 0.3 );
}
</ style >
< c2-checkbox checked class = "bookmark" >
< svg slot = "checkmark" viewBox = "0 0 24 24" fill = "currentColor" stroke = "currentColor" stroke-width = "2" stroke-linejoin = "round" >< path d = "M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z" ></ path ></ svg >
< svg slot = "uncheckmark" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linejoin = "round" >< path d = "M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z" ></ path ></ svg >
</ c2-checkbox > Exit
ResetSave to collection
Visibility Customized < style >
.visibility {
--c2-checkbox__container--width : 24 px ;
--c2-checkbox__container--height : 24 px ;
--c2-checkbox__container--border-top : 0 px solid transparent ;
--c2-checkbox__container--border-right : 0 px solid transparent ;
--c2-checkbox__container--border-bottom : 0 px solid transparent ;
--c2-checkbox__container--border-left : 0 px solid transparent ;
--c2-checkbox__container__selected--background-color : transparent ;
--c2-checkbox__checkmark--size : 20 px ;
--c2-checkbox__checkmark--color : #18181b ;
--c2-checkbox__uncheckmark--size : 20 px ;
--c2-checkbox__uncheckmark--color : #a1a1aa ;
--c2-checkbox__state-layer--size : 36 px ;
--c2-checkbox__state-layer__hover__unselected--color : #18181b ;
--c2-checkbox__state-layer__hover__selected--color : #18181b ;
--c2-checkbox__container__focus--outline : 2 px solid rgba ( 24 , 24 , 27 , 0.3 );
}
</ style >
< c2-checkbox checked class = "visibility" >
< svg slot = "checkmark" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" >< path d = "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-4-8-11-8z" ></ path >< circle cx = "12" cy = "12" r = "3" ></ circle ></ svg >
< svg slot = "uncheckmark" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" >< path d = "M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24" ></ path >< line x1 = "1" y1 = "1" x2 = "23" y2 = "23" ></ line ></ svg >
</ c2-checkbox > Exit
ResetSave to collection
Thumbs up Customized < style >
.thumbs-up {
--c2-checkbox__container--width : 24 px ;
--c2-checkbox__container--height : 24 px ;
--c2-checkbox__container--border-top : 0 px solid transparent ;
--c2-checkbox__container--border-right : 0 px solid transparent ;
--c2-checkbox__container--border-bottom : 0 px solid transparent ;
--c2-checkbox__container--border-left : 0 px solid transparent ;
--c2-checkbox__container__selected--background-color : transparent ;
--c2-checkbox__checkmark--size : 20 px ;
--c2-checkbox__checkmark--color : #2563eb ;
--c2-checkbox__uncheckmark--size : 20 px ;
--c2-checkbox__uncheckmark--color : #71717a ;
--c2-checkbox__state-layer--size : 36 px ;
--c2-checkbox__state-layer--border-top-left-radius : 999 px ;
--c2-checkbox__state-layer--border-top-right-radius : 999 px ;
--c2-checkbox__state-layer--border-bottom-left-radius : 999 px ;
--c2-checkbox__state-layer--border-bottom-right-radius : 999 px ;
--c2-checkbox__state-layer__hover__unselected--color : #2563eb ;
--c2-checkbox__state-layer__hover__selected--color : #2563eb ;
}
</ style >
< c2-checkbox checked class = "thumbs-up" >
< svg slot = "checkmark" viewBox = "0 0 24 24" fill = "currentColor" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" >< path d = "M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3" ></ path ></ svg >
< svg slot = "uncheckmark" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" >< path d = "M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3" ></ path ></ svg >
</ c2-checkbox > Exit
ResetSave to collection
Lock Customized < style >
.lock {
--c2-checkbox__container--width : 24 px ;
--c2-checkbox__container--height : 24 px ;
--c2-checkbox__container--border-top : 0 px solid transparent ;
--c2-checkbox__container--border-right : 0 px solid transparent ;
--c2-checkbox__container--border-bottom : 0 px solid transparent ;
--c2-checkbox__container--border-left : 0 px solid transparent ;
--c2-checkbox__container__selected--background-color : transparent ;
--c2-checkbox__checkmark--size : 20 px ;
--c2-checkbox__checkmark--color : #b45309 ;
--c2-checkbox__uncheckmark--size : 20 px ;
--c2-checkbox__uncheckmark--color : #71717a ;
--c2-checkbox__state-layer--size : 36 px ;
--c2-checkbox__state-layer__hover__unselected--color : #b45309 ;
--c2-checkbox__state-layer__hover__selected--color : #b45309 ;
}
</ style >
< c2-checkbox checked class = "lock" >
< svg slot = "checkmark" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" >< rect x = "3" y = "11" width = "18" height = "11" rx = "2" ry = "2" ></ rect >< path d = "M7 11V7a5 5 0 0 1 10 0v4" ></ path ></ svg >
< svg slot = "uncheckmark" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" >< rect x = "3" y = "11" width = "18" height = "11" rx = "2" ry = "2" ></ rect >< path d = "M7 11V7a5 5 0 0 1 9.9-1" ></ path ></ svg >
</ c2-checkbox > Exit
ResetSave to collection
Task done Customized < style >
.task-done {
--c2-checkbox__container--width : 22 px ;
--c2-checkbox__container--height : 22 px ;
--c2-checkbox__container--border-top : 0 px solid transparent ;
--c2-checkbox__container--border-right : 0 px solid transparent ;
--c2-checkbox__container--border-bottom : 0 px solid transparent ;
--c2-checkbox__container--border-left : 0 px solid transparent ;
--c2-checkbox__container__selected--background-color : transparent ;
--c2-checkbox__checkmark--size : 22 px ;
--c2-checkbox__checkmark--color : #16a34a ;
--c2-checkbox__uncheckmark--size : 22 px ;
--c2-checkbox__uncheckmark--color : #a1a1aa ;
--c2-checkbox__container__focus--outline : 2 px solid rgba ( 22 , 163 , 74 , 0.4 );
}
</ style >
< c2-checkbox checked class = "task-done" >
< svg slot = "checkmark" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" >< path d = "M22 11.08V12a10 10 0 1 1-5.93-9.14" ></ path >< polyline points = "22 4 12 14.01 9 11.01" ></ polyline ></ svg >
< svg slot = "uncheckmark" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke-width = "2" stroke-linecap = "round" stroke-linejoin = "round" >< circle cx = "12" cy = "12" r = "10" ></ circle ></ svg >
</ c2-checkbox >
With icon components
The marks can also be the library’s own icons: drop a c2-feather-* element or a c2-mat-icon ligature into a slot and the checkbox sizes it through --c2-checkbox__checkmark--size and friends.
Exit
ResetSave to collection
Feather check Customized < style >
.feather-check {
--c2-checkbox__checkmark--size : 14 px ;
--c2-checkbox__mixedmark--size : 14 px ;
}
</ style >
< c2-checkbox checked class = "feather-check" >
< c2-feather-check slot = "checkmark" style = "--c2-feather-icon--stroke-width: 3" ></ c2-feather-check >
< c2-feather-minus slot = "mixedmark" style = "--c2-feather-icon--stroke-width: 3" ></ c2-feather-minus >
</ c2-checkbox > Exit
ResetSave to collection
donedone removeremove donedone removeremove Material check Customized < style >
.material-check {
--c2-checkbox__container__selected--background-color : #18181b ;
--c2-checkbox__checkmark--size : 16 px ;
--c2-checkbox__mixedmark--size : 16 px ;
--c2-checkbox__container__focus--outline : 2 px solid rgba ( 24 , 24 , 27 , 0.3 );
}
</ style >
< c2-checkbox checked class = "material-check" >
< c2-mat-icon slot = "checkmark" >done</ c2-mat-icon >
< c2-mat-icon slot = "mixedmark" >remove</ c2-mat-icon >
</ c2-checkbox > Exit
ResetSave to collection
Feather heart Customized < style >
.feather-heart {
--c2-checkbox__container--width : 24 px ;
--c2-checkbox__container--height : 24 px ;
--c2-checkbox__container--border-top : 0 px solid transparent ;
--c2-checkbox__container--border-right : 0 px solid transparent ;
--c2-checkbox__container--border-bottom : 0 px solid transparent ;
--c2-checkbox__container--border-left : 0 px solid transparent ;
--c2-checkbox__container__selected--background-color : transparent ;
--c2-checkbox__checkmark--size : 22 px ;
--c2-checkbox__checkmark--color : #e11d48 ;
--c2-checkbox__uncheckmark--size : 22 px ;
--c2-checkbox__uncheckmark--color : #a1a1aa ;
--c2-checkbox__state-layer--size : 36 px ;
--c2-checkbox__state-layer--border-top-left-radius : 999 px ;
--c2-checkbox__state-layer--border-top-right-radius : 999 px ;
--c2-checkbox__state-layer--border-bottom-left-radius : 999 px ;
--c2-checkbox__state-layer--border-bottom-right-radius : 999 px ;
--c2-checkbox__state-layer__hover__unselected--color : #e11d48 ;
--c2-checkbox__state-layer__hover__selected--color : #e11d48 ;
--c2-checkbox__container__focus--outline : 2 px solid rgba ( 225 , 29 , 72 , 0.4 );
}
</ style >
< c2-checkbox checked class = "feather-heart" >
< c2-feather-heart slot = "checkmark" style = "--c2-feather-icon--stroke-width: 2.5" ></ c2-feather-heart >
< c2-feather-heart slot = "uncheckmark" ></ c2-feather-heart >
</ c2-checkbox > Exit
ResetSave to collection
favoritefavorite favorite_borderfavorite_border favoritefavorite favorite_borderfavorite_border Material favourite Customized < style >
.material-favourite {
--c2-checkbox__container--width : 24 px ;
--c2-checkbox__container--height : 24 px ;
--c2-checkbox__container--border-top : 0 px solid transparent ;
--c2-checkbox__container--border-right : 0 px solid transparent ;
--c2-checkbox__container--border-bottom : 0 px solid transparent ;
--c2-checkbox__container--border-left : 0 px solid transparent ;
--c2-checkbox__container__selected--background-color : transparent ;
--c2-checkbox__checkmark--size : 24 px ;
--c2-checkbox__checkmark--color : #e11d48 ;
--c2-checkbox__uncheckmark--size : 24 px ;
--c2-checkbox__uncheckmark--color : #a1a1aa ;
--c2-checkbox__state-layer--size : 36 px ;
--c2-checkbox__state-layer--border-top-left-radius : 999 px ;
--c2-checkbox__state-layer--border-top-right-radius : 999 px ;
--c2-checkbox__state-layer--border-bottom-left-radius : 999 px ;
--c2-checkbox__state-layer--border-bottom-right-radius : 999 px ;
--c2-checkbox__state-layer__hover__unselected--color : #e11d48 ;
--c2-checkbox__state-layer__hover__selected--color : #e11d48 ;
--c2-checkbox__container__focus--outline : 2 px solid rgba ( 225 , 29 , 72 , 0.4 );
}
</ style >
< c2-checkbox checked class = "material-favourite" >
< c2-mat-icon slot = "checkmark" >favorite</ c2-mat-icon >
< c2-mat-icon slot = "uncheckmark" >favorite_border</ c2-mat-icon >
</ c2-checkbox > Exit
ResetSave to collection
starstar star_borderstar_border starstar star_borderstar_border Material star Customized < style >
.material-star {
--c2-checkbox__container--width : 24 px ;
--c2-checkbox__container--height : 24 px ;
--c2-checkbox__container--border-top : 0 px solid transparent ;
--c2-checkbox__container--border-right : 0 px solid transparent ;
--c2-checkbox__container--border-bottom : 0 px solid transparent ;
--c2-checkbox__container--border-left : 0 px solid transparent ;
--c2-checkbox__container__selected--background-color : transparent ;
--c2-checkbox__checkmark--size : 24 px ;
--c2-checkbox__checkmark--color : #f59e0b ;
--c2-checkbox__uncheckmark--size : 24 px ;
--c2-checkbox__uncheckmark--color : #a1a1aa ;
--c2-checkbox__state-layer--size : 36 px ;
--c2-checkbox__state-layer--border-top-left-radius : 999 px ;
--c2-checkbox__state-layer--border-top-right-radius : 999 px ;
--c2-checkbox__state-layer--border-bottom-left-radius : 999 px ;
--c2-checkbox__state-layer--border-bottom-right-radius : 999 px ;
--c2-checkbox__state-layer__hover__unselected--color : #f59e0b ;
--c2-checkbox__state-layer__hover__selected--color : #f59e0b ;
}
</ style >
< c2-checkbox checked class = "material-star" >
< c2-mat-icon slot = "checkmark" >star</ c2-mat-icon >
< c2-mat-icon slot = "uncheckmark" >star_border</ c2-mat-icon >
</ c2-checkbox > Exit
ResetSave to collection
Notifications Customized < style >
.notifications {
--c2-checkbox__container--width : 24 px ;
--c2-checkbox__container--height : 24 px ;
--c2-checkbox__container--border-top : 0 px solid transparent ;
--c2-checkbox__container--border-right : 0 px solid transparent ;
--c2-checkbox__container--border-bottom : 0 px solid transparent ;
--c2-checkbox__container--border-left : 0 px solid transparent ;
--c2-checkbox__container__selected--background-color : transparent ;
--c2-checkbox__checkmark--size : 20 px ;
--c2-checkbox__checkmark--color : #2563eb ;
--c2-checkbox__uncheckmark--size : 20 px ;
--c2-checkbox__uncheckmark--color : #71717a ;
--c2-checkbox__state-layer--size : 36 px ;
--c2-checkbox__state-layer__hover__unselected--color : #2563eb ;
--c2-checkbox__state-layer__hover__selected--color : #2563eb ;
}
</ style >
< c2-checkbox checked class = "notifications" >
< c2-feather-bell slot = "checkmark" ></ c2-feather-bell >
< c2-feather-bell-off slot = "uncheckmark" ></ c2-feather-bell-off >
</ c2-checkbox > Exit
ResetSave to collection
Theme Customized < style >
.theme {
--c2-checkbox__container--width : 24 px ;
--c2-checkbox__container--height : 24 px ;
--c2-checkbox__container--border-top : 0 px solid transparent ;
--c2-checkbox__container--border-right : 0 px solid transparent ;
--c2-checkbox__container--border-bottom : 0 px solid transparent ;
--c2-checkbox__container--border-left : 0 px solid transparent ;
--c2-checkbox__container__selected--background-color : transparent ;
--c2-checkbox__checkmark--size : 20 px ;
--c2-checkbox__checkmark--color : #18181b ;
--c2-checkbox__uncheckmark--size : 20 px ;
--c2-checkbox__uncheckmark--color : #f59e0b ;
--c2-checkbox__state-layer--size : 36 px ;
--c2-checkbox__state-layer--border-top-left-radius : 999 px ;
--c2-checkbox__state-layer--border-top-right-radius : 999 px ;
--c2-checkbox__state-layer--border-bottom-left-radius : 999 px ;
--c2-checkbox__state-layer--border-bottom-right-radius : 999 px ;
--c2-checkbox__state-layer__hover__unselected--color : #f59e0b ;
--c2-checkbox__state-layer__hover__selected--color : #18181b ;
}
</ style >
< c2-checkbox checked class = "theme" >
< c2-feather-moon slot = "checkmark" ></ c2-feather-moon >
< c2-feather-sun slot = "uncheckmark" ></ c2-feather-sun >
</ c2-checkbox > Exit
ResetSave to collection
Mute Customized < style >
.mute {
--c2-checkbox__container--width : 24 px ;
--c2-checkbox__container--height : 24 px ;
--c2-checkbox__container--border-top : 0 px solid transparent ;
--c2-checkbox__container--border-right : 0 px solid transparent ;
--c2-checkbox__container--border-bottom : 0 px solid transparent ;
--c2-checkbox__container--border-left : 0 px solid transparent ;
--c2-checkbox__container__selected--background-color : transparent ;
--c2-checkbox__checkmark--size : 20 px ;
--c2-checkbox__checkmark--color : #dc2626 ;
--c2-checkbox__uncheckmark--size : 20 px ;
--c2-checkbox__uncheckmark--color : #18181b ;
--c2-checkbox__state-layer--size : 36 px ;
--c2-checkbox__state-layer__hover__unselected--color : #18181b ;
--c2-checkbox__state-layer__hover__selected--color : #dc2626 ;
}
</ style >
< c2-checkbox class = "mute" >
< c2-feather-volume-x slot = "checkmark" ></ c2-feather-volume-x >
< c2-feather-volume-2 slot = "uncheckmark" ></ c2-feather-volume-2 >
</ c2-checkbox >