New to Kendo UI for Vue? Start a free 30-day trial

Customizing Checkbox

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-checkbox-border-radiusNullnullnull
Description
The border radius of the CheckBox.
$kendo-checkbox-border-widthNumber1px1px
Description
The border width of the CheckBox.
$kendo-checkbox-bgString$kendo-component-bgvar(--kendo-color-surface-alt, #ffffff)
Description
The background color of the CheckBox.
$kendo-checkbox-textColortransparenttransparent
Description
The text color of the CheckBox.
$kendo-checkbox-borderStringif($kendo-enable-color-system, k-color( border-alt ), k-get-theme-color-var( neutral-160 ))var(--kendo-color-border-alt, #323130)
Description
The border color of the CheckBox.
$kendo-checkbox-hover-bgString$kendo-checkbox-bgvar(--kendo-color-surface-alt, #ffffff)
Description
The background color of the hovered CheckBox.
$kendo-checkbox-hover-textStringif($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color( neutral, 130 ))var(--kendo-color-on-app-surface, #323130)
Description
The text color of the hovered CheckBox.
$kendo-checkbox-hover-borderString$kendo-checkbox-bordervar(--kendo-color-border-alt, #323130)
Description
The border color of the hovered CheckBox.
$kendo-checkbox-checked-bgStringif($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 ))var(--kendo-color-primary, #0078d4)
Description
The background color of the checked CheckBox.
$kendo-checkbox-checked-textStringif($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white)var(--kendo-color-app-surface, #ffffff)
Description
The text color of the checked CheckBox.
$kendo-checkbox-checked-borderString$kendo-checkbox-checked-bgvar(--kendo-color-primary, #0078d4)
Description
The border color of the checked CheckBox.
$kendo-checkbox-hover-checked-bgStringif($kendo-enable-color-system, k-color( primary-hover ), k-get-theme-color-var( primary-110 ))var(--kendo-color-primary-hover, #106ebe)
Description
The background of the hovered and checked CheckBox.
$kendo-checkbox-hover-checked-textStringif($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white)var(--kendo-color-app-surface, #ffffff)
Description
The text color of the hovered and checked CheckBox.
$kendo-checkbox-hover-checked-borderString$kendo-checkbox-hover-checked-bgvar(--kendo-color-primary-hover, #106ebe)
Description
The border color of the hovered and checked CheckBox.
$kendo-checkbox-focus-borderNullnullnull
Description
The border color of the focused CheckBox.
$kendo-checkbox-focus-shadowNullnullnull
Description
The box shadow of the focused CheckBox.
$kendo-checkbox-focus-outlineList1px solid if($kendo-enable-color-system, k-color( base-emphasis ), k-get-theme-color-var( neutral-130 ))1px solid var(--kendo-color-base-emphasis, #605e5c)
Description
The outline of the focused CheckBox.
$kendo-checkbox-indeterminate-bgString$kendo-checkbox-bgvar(--kendo-color-surface-alt, #ffffff)
Description
The background color of the indeterminate CheckBox.
$kendo-checkbox-indeterminate-textStringif($kendo-enable-color-system, k-color( primary ), k-get-theme-color( primary, 100 ))var(--kendo-color-primary, #0078d4)
Description
The text color of the indeterminate CheckBox.
$kendo-checkbox-indeterminate-borderStringif($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 ))var(--kendo-color-primary, #0078d4)
Description
The border color of the indeterminate CheckBox.
$kendo-checkbox-hover-indeterminate-bgString$kendo-checkbox-bgvar(--kendo-color-surface-alt, #ffffff)
Description
The background color of the hovered and indeterminate CheckBox.
$kendo-checkbox-hover-indeterminate-textStringif($kendo-enable-color-system, k-color( primary-hover ), k-get-theme-color( primary, 110 ))var(--kendo-color-primary-hover, #106ebe)
Description
The text color of the hovered and indeterminate CheckBox.
$kendo-checkbox-hover-indeterminate-borderStringif($kendo-enable-color-system, k-color( primary-hover ), k-get-theme-color-var( primary-110 ))var(--kendo-color-primary-hover, #106ebe)
Description
The border color of the hovered and indeterminate CheckBox.
$kendo-checkbox-disabled-bgString$kendo-checkbox-bgvar(--kendo-color-surface-alt, #ffffff)
Description
The background color of the disabled CheckBox.
$kendo-checkbox-disabled-textStringif($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 28%, transparent), k-get-theme-color-var( neutral-60 ))color-mix(in srgb, var(--kendo-color-on-app-surface, #323130) 28%, transparent)
Description
The text color of the disabled CheckBox.
$kendo-checkbox-disabled-borderStringif($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 28%, transparent), k-get-theme-color-var( neutral-60 ))color-mix(in srgb, var(--kendo-color-on-app-surface, #323130) 28%, transparent)
Description
The border color of the disabled CheckBox.
$kendo-checkbox-disabled-checked-bgStringif($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 28%, transparent), k-get-theme-color-var( neutral-60 ))color-mix(in srgb, var(--kendo-color-on-app-surface, #323130) 28%, transparent)
Description
The background color of the disabled and checked CheckBox.
$kendo-checkbox-disabled-checked-textStringif($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white)var(--kendo-color-app-surface, #ffffff)
Description
The text color of the disabled and checked CheckBox.
$kendo-checkbox-disabled-checked-borderColorif($kendo-enable-color-system, transparent, k-get-theme-color-var( neutral-60 ))transparent
Description
The border color of the disabled and checked CheckBox.
$kendo-checkbox-disabled-indeterminate-bgString$kendo-checkbox-bgvar(--kendo-color-surface-alt, #ffffff)
Description
The background color of the disabled and indeterminate CheckBox.
$kendo-checkbox-disabled-indeterminate-textStringif($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 28%, transparent), k-get-theme-color( neutral, 60 ))color-mix(in srgb, var(--kendo-color-on-app-surface, #323130) 28%, transparent)
Description
The border color of the disabled and indeterminate CheckBox.
$kendo-checkbox-disabled-indeterminate-borderStringif($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 28%, transparent), k-get-theme-color-var( neutral-60 ))color-mix(in srgb, var(--kendo-color-on-app-surface, #323130) 28%, transparent)
Description
The border color of the disabled and indeterminate CheckBox.
$kendo-checkbox-invalid-bgString$kendo-checkbox-bgvar(--kendo-color-surface-alt, #ffffff)
Description
The background color of an invalid CheckBox.
$kendo-checkbox-invalid-textString$kendo-invalid-textvar(--kendo-color-error-on-surface, #a4262c)
Description
The text color of an invalid CheckBox.
$kendo-checkbox-invalid-borderString$kendo-invalid-bordervar(--kendo-color-error-emphasis, #a4262c)
Description
The border color of an invalid CheckBox.
$kendo-checkbox-indicator-typeStringimageimage
Description
The type of the CheckBox indicator.
$kendo-checkbox-glyph-font-familyList"WebComponentsIcons", monospace"WebComponentsIcons", monospace
Description
The font family of the CheckBox indicator glyph.
$kendo-checkbox-checked-glyphString"\e118""\e118"
Description
The glyph of the CheckBox indicator.
$kendo-checkbox-indeterminate-glyphString"\e121""\e121"
Description
The glyph of the indeterminate CheckBox indicator.
$kendo-checkbox-hover-imageStringescape-svg( url("data:image/svg+xml,") )url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='var%28--kendo-color-on-app-surface, %23323130%29' stroke-linecap='square' stroke-linejoin='square' stroke-width='2' d='M3,8 l3,3 l7-7'/%3e%3c/svg%3e")
Description
The image of the hovered CheckBox indicator.
$kendo-checkbox-checked-imageStringescape-svg( url("data:image/svg+xml,") )url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='var%28--kendo-color-app-surface, %23ffffff%29' stroke-linecap='square' stroke-linejoin='square' stroke-width='2' d='M3,8 l3,3 l7-7'/%3e%3c/svg%3e")
Description
The image of the checked CheckBox indicator.
$kendo-checkbox-indeterminate-imageStringescape-svg( url("data:image/svg+xml,") )url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3crect x='3' y='3' width='10' height='10' rx='2' fill='var%28--kendo-color-primary, %230078d4%29'/%3e%3c/svg%3e")
Description
The image of the indeterminate CheckBox indicator.
$kendo-checkbox-hover-checked-imageStringescape-svg( url("data:image/svg+xml,") )url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='var%28--kendo-color-app-surface, %23ffffff%29' stroke-linecap='square' stroke-linejoin='square' stroke-width='2' d='M3,8 l3,3 l7-7'/%3e%3c/svg%3e")
Description
The image of the hovered and checked CheckBox indicator.
$kendo-checkbox-hover-indeterminate-imageStringescape-svg( url("data:image/svg+xml,") )url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3crect x='3' y='3' width='10' height='10' rx='2' fill='var%28--kendo-color-primary-hover, %23106ebe%29'/%3e%3c/svg%3e")
Description
The image of the hovered and indeterminate CheckBox indicator.
$kendo-checkbox-disabled-checked-imageStringescape-svg( url("data:image/svg+xml,") )url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='var%28--kendo-color-app-surface, %23ffffff%29' stroke-linecap='square' stroke-linejoin='square' stroke-width='2' d='M3,8 l3,3 l7-7'/%3e%3c/svg%3e")
Description
The image of the checked CheckBox indicator.
$kendo-checkbox-disabled-indeterminate-imageStringescape-svg( url("data:image/svg+xml,") )url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3crect x='3' y='3' width='10' height='10' rx='2' fill='color-mix%28in srgb, var%28--kendo-color-on-app-surface, %23323130%29 28%25, transparent%29'/%3e%3c/svg%3e")
Description
The image of the indeterminate CheckBox indicator.
$kendo-checkbox-label-margin-xStringk-spacing(2)var(--kendo-spacing-2, 0.5rem)
Description
The horizontal margin of the CheckBox inside a label.
$kendo-checkbox-list-spacingStringk-spacing(4)var(--kendo-spacing-4, 1rem)
Description
The spacing between the items in a horizontal CheckBox list.
$kendo-checkbox-list-item-padding-xStringk-spacing(0)var(--kendo-spacing-0, 0px)
Description
The horizontal padding of the CheckBox list items.
$kendo-checkbox-list-item-padding-yString$kendo-list-md-item-padding-yvar(--kendo-spacing-2, 0.5rem)
Description
The vertical padding of the CheckBox list items.
$kendo-checkbox-ripple-bgStringif($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 ))var(--kendo-color-primary, #0078d4)
Description
The background color of the CheckBox' ripple.
$kendo-checkbox-ripple-opacityNumber.250.25
Description
The opacity of the CheckBox' ripple.

In this article

Not finding the help you need?