Checkbox

Checkboxes indicate non-binary choices or allow users to select one or more options from a multiple-choice list.

Sass Variables

The Telerik and Kendo UI CheckBox enables you to configure and customize its appearance through the available Sass variables.

VariableDefault ValueComputed ValueValue
kendo-checkbox-border-width1px1pxDefault: 1pxComputed: 1px
Description: The border width of the CheckBox.
kendo-checkbox-sm-sizek-map-get( $kendo-spacing, 3 )12pxDefault: k-map-get( $kendo-spacing, 3 )Computed: 12px
Description: The size of a small CheckBox.
kendo-checkbox-md-sizek-map-get( $kendo-spacing, 4 )16pxDefault: k-map-get( $kendo-spacing, 4 )Computed: 16px
Description: The size of a medium CheckBox.
kendo-checkbox-lg-sizek-map-get( $kendo-spacing, 5 )20pxDefault: k-map-get( $kendo-spacing, 5 )Computed: 20px
Description: The size of a large CheckBox.
kendo-checkbox-sm-glyph-sizek-map-get( $kendo-spacing, 2.5 )10pxDefault: k-map-get( $kendo-spacing, 2.5 )Computed: 10px
Description: The glyph size of a small CheckBox.
kendo-checkbox-md-glyph-sizek-map-get( $kendo-spacing, 3.5 )14pxDefault: k-map-get( $kendo-spacing, 3.5 )Computed: 14px
Description: The glyph size of a medium CheckBox.
kendo-checkbox-lg-glyph-sizek-map-get( $kendo-spacing, 4.5 )18pxDefault: k-map-get( $kendo-spacing, 4.5 )Computed: 18px
Description: The glyph size of a large CheckBox.
kendo-checkbox-sm-ripple-size300%300%Default: 300%Computed: 300%
Description: The ripple size of a small CheckBox.
kendo-checkbox-md-ripple-size300%300%Default: 300%Computed: 300%
Description: The ripple size of a medium CheckBox.
kendo-checkbox-lg-ripple-size300%300%Default: 300%Computed: 300%
Description: The ripple size of a large CheckBox.
kendo-checkbox-bg$kendo-component-bg #ffffffDefault: $kendo-component-bgComputed: #ffffff
Description: The background color of the CheckBox.
kendo-checkbox-textnullnullDefault: nullComputed: null
Description: The text color of the CheckBox.
kendo-checkbox-border$kendo-component-border rgba(0, 0, 0, 0.08)Default: $kendo-component-borderComputed: rgba(0, 0, 0, 0.08)
Description: The border color of the CheckBox.
kendo-checkbox-hover-bgnullnullDefault: nullComputed: null
Description: The background color of the hovered CheckBox.
kendo-checkbox-hover-textnullnullDefault: nullComputed: null
Description: The text color of the hovered CheckBox.
kendo-checkbox-hover-bordernullnullDefault: nullComputed: null
Description: The border color of the hovered CheckBox.
kendo-checkbox-checked-bg$kendo-color-primary #ff6358Default: $kendo-color-primaryComputed: #ff6358
Description: The background color of the checked CheckBox.
kendo-checkbox-checked-textif($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-checkbox-checked-bg )) whiteDefault: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-checkbox-checked-bg ))Computed: white
Description: The text color of the checked CheckBox.
kendo-checkbox-checked-border$kendo-checkbox-checked-bg #ff6358Default: $kendo-checkbox-checked-bgComputed: #ff6358
Description: The border color of the checked CheckBox.
kendo-checkbox-indeterminate-bg$kendo-checkbox-bg #ffffffDefault: $kendo-checkbox-bgComputed: #ffffff
Description: The background color of the indeterminate CheckBox.
kendo-checkbox-indeterminate-text$kendo-checkbox-checked-bg #ff6358Default: $kendo-checkbox-checked-bgComputed: #ff6358
Description: The text color of the indeterminate CheckBox.
kendo-checkbox-indeterminate-border$kendo-checkbox-border rgba(0, 0, 0, 0.08)Default: $kendo-checkbox-borderComputed: rgba(0, 0, 0, 0.08)
Description: The border color of the indeterminate CheckBox.
kendo-checkbox-focus-bordernullnullDefault: nullComputed: null
Description: The border color of the focused CheckBox.
kendo-checkbox-focus-shadow0 0 0 2px rgba(0, 0, 0, .06)0 0 0 2px rgba(0, 0, 0, 0.06)Default: 0 0 0 2px rgba(0, 0, 0, .06)Computed: 0 0 0 2px rgba(0, 0, 0, 0.06)
Description: The box shadow of the focused CheckBox.
kendo-checkbox-focus-checked-bordernullnullDefault: nullComputed: null
Description: The border color of the focused and checked CheckBox.
kendo-checkbox-focus-checked-shadow0 0 0 2px if($kendo-enable-color-system, rgba( k-color( primary, true ), .3 ), rgba( $kendo-color-primary, .3 ))0 0 0 2px rgba(255, 99, 88, 0.3)Default: 0 0 0 2px if($kendo-enable-color-system, rgba( k-color( primary, true ), .3 ), rgba( $kendo-color-primary, .3 ))Computed: 0 0 0 2px rgba(255, 99, 88, 0.3)
Description: The box shadow of the focused and checked CheckBox.
kendo-checkbox-disabled-bgnullnullDefault: nullComputed: null
Description: The background color of the disabled CheckBox.
kendo-checkbox-disabled-textnullnullDefault: nullComputed: null
Description: The text color of the disabled CheckBox.
kendo-checkbox-disabled-bordernullnullDefault: nullComputed: null
Description: The border color of the disabled CheckBox.
kendo-checkbox-disabled-checked-bgnullnullDefault: nullComputed: null
Description: The background color of the disabled and checked CheckBox.
kendo-checkbox-disabled-checked-textnullnullDefault: nullComputed: null
Description: The text color of the disabled and checked CheckBox.
kendo-checkbox-disabled-checked-bordernullnullDefault: nullComputed: null
Description: The border color of the disabled and checked CheckBox.
kendo-checkbox-invalid-bgnullnullDefault: nullComputed: null
Description: The background color of an invalid CheckBox.
kendo-checkbox-invalid-text$kendo-invalid-text #f31700Default: $kendo-invalid-textComputed: #f31700
Description: The text color of an invalid CheckBox.
kendo-checkbox-invalid-border$kendo-invalid-border #f31700Default: $kendo-invalid-borderComputed: #f31700
Description: The border color of an invalid CheckBox.
kendo-checkbox-indicator-typeimageimageDefault: imageComputed: image
Description: The type of the CheckBox indicator.
kendo-checkbox-glyph-font-family"WebComponentsIcons", monospace"WebComponentsIcons", monospaceDefault: "WebComponentsIcons", monospaceComputed: "WebComponentsIcons", monospace
Description: The font family of the CheckBox indicator glyph.
kendo-checkbox-checked-glyph"\e118""\e118"Default: "\e118"Computed: "\e118"
Description: The glyph of the CheckBox indicator.
kendo-checkbox-indeterminate-glyph"\e121""\e121"Default: "\e121"Computed: "\e121"
Description: The glyph of the indeterminate CheckBox indicator.
kendo-checkbox-checked-imagek-escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#{$kendo-checkbox-checked-text}' stroke-linecap='square' stroke-linejoin='square' stroke-width='2' d='M3,8 l3,3 l7-7'/></svg>") )url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='white' stroke-linecap='square' stroke-linejoin='square' stroke-width='2' d='M3,8 l3,3 l7-7'/%3e%3c/svg%3e")Default: k-escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#{$kendo-checkbox-checked-text}' stroke-linecap='square' stroke-linejoin='square' stroke-width='2' d='M3,8 l3,3 l7-7'/></svg>") )Computed: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='white' stroke-linecap='square' stroke-linejoin='square' stroke-width='2' d='M3,8 l3,3 l7-7'/%3e%3c/svg%3e")
Description: The image for a checked CheckBox indicator.
kendo-checkbox-indeterminate-imagek-escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#{$kendo-checkbox-indeterminate-text}' stroke-linecap='square' stroke-linejoin='square' stroke-width='2' d='M4,8 h8'/></svg>") )url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ff6358' stroke-linecap='square' stroke-linejoin='square' stroke-width='2' d='M4,8 h8'/%3e%3c/svg%3e")Default: k-escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#{$kendo-checkbox-indeterminate-text}' stroke-linecap='square' stroke-linejoin='square' stroke-width='2' d='M4,8 h8'/></svg>") )Computed: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ff6358' stroke-linecap='square' stroke-linejoin='square' stroke-width='2' d='M4,8 h8'/%3e%3c/svg%3e")
Description: The image for a indeterminate CheckBox indicator.
kendo-checkbox-label-margin-xk-map-get( $kendo-spacing, 1 )4pxDefault: k-map-get( $kendo-spacing, 1 )Computed: 4px
Description: The horizontal margin of the CheckBox inside a label.
kendo-checkbox-list-spacingk-map-get( $kendo-spacing, 4 )16pxDefault: k-map-get( $kendo-spacing, 4 )Computed: 16px
Description: The spacing between the items in a horizontal CheckBox list.
kendo-checkbox-list-item-padding-x0px0pxDefault: 0pxComputed: 0px
Description: The horizontal padding of the CheckBox list items.
kendo-checkbox-list-item-padding-y$kendo-list-md-item-padding-y4pxDefault: $kendo-list-md-item-padding-yComputed: 4px
Description: The vertical padding of the CheckBox list items.
kendo-checkbox-ripple-bg$kendo-checkbox-checked-bg #ff6358Default: $kendo-checkbox-checked-bgComputed: #ff6358
Description: The background color of the CheckBox' ripple.
kendo-checkbox-ripple-opacity.250.25Default: .25Computed: 0.25
Description: The opacity of the CheckBox' ripple.