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

Customizing Radio

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-radio-radiusNumber50%50%
Description
The border radius of the RadioButton.
$kendo-radio-border-widthNumber2px2px
Description
The border width of the RadioButton.
$kendo-radio-sm-sizeStringk-spacing(3)var(--kendo-spacing-3, 0.75rem)
Description
The size of a small RadioButton.
$kendo-radio-md-sizeStringk-spacing(4)var(--kendo-spacing-4, 1rem)
Description
The size of a medium RadioButton.
$kendo-radio-lg-sizeStringk-spacing(5)var(--kendo-spacing-5, 1.25rem)
Description
The size of a large RadioButton.
$kendo-radio-sm-glyph-sizeStringk-spacing(2.5)var(--kendo-spacing-2\.5, 0.625rem)
Description
The glyph size of a small RadioButton.
$kendo-radio-md-glyph-sizeStringk-spacing(3.5)var(--kendo-spacing-3\.5, 0.875rem)
Description
The glyph size of a medium RadioButton.
$kendo-radio-lg-glyph-sizeStringk-spacing(4.5)var(--kendo-spacing-4\.5, 1.125rem)
Description
The glyph size of a large RadioButton.
$kendo-radio-sm-ripple-sizeNumber300%300%
Description
The ripple size of a small RadioButton.
$kendo-radio-md-ripple-sizeNumber300%300%
Description
The ripple size of a medium RadioButton.
$kendo-radio-lg-ripple-sizeNumber300%300%
Description
The ripple size of a large RadioButton.
$kendo-radio-sizesMap( sm: ( size: $kendo-radio-sm-size, glyph-size: $kendo-radio-sm-glyph-size, ripple-size: $kendo-radio-sm-ripple-size ), md: ( size: $kendo-radio-md-size, glyph-size: $kendo-radio-md-glyph-size, ripple-size: $kendo-radio-md-ripple-size ), lg: ( size: $kendo-radio-lg-size, glyph-size: $kendo-radio-lg-glyph-size, ripple-size: $kendo-radio-lg-ripple-size ) )(sm: (size: var(--kendo-spacing-3, 0.75rem), glyph-size: var(--kendo-spacing-2\.5, 0.625rem), ripple-size: 300%), md: (size: var(--kendo-spacing-4, 1rem), glyph-size: var(--kendo-spacing-3\.5, 0.875rem), ripple-size: 300%), lg: (size: var(--kendo-spacing-5, 1.25rem), glyph-size: var(--kendo-spacing-4\.5, 1.125rem), ripple-size: 300%))
Description
The map with the different RadioButton sizes.
$kendo-radio-bgNull$kendo-checkbox-bgnull
Description
The background color of the RadioButton.
$kendo-radio-textNull$kendo-checkbox-textnull
Description
The color of the RadioButton.
$kendo-radio-borderString$kendo-checkbox-bordercolor-mix(in srgb, var(--kendo-color-on-app-surface, #212121) 54%, transparent)
Description
The border color of the RadioButton.
$kendo-radio-hover-bgNullnullnull
Description
The background color of the hovered RadioButton.
$kendo-radio-hover-textNullnullnull
Description
The color of the hovered RadioButton.
$kendo-radio-hover-borderNullnullnull
Description
The border color of the hovered RadioButton.
$kendo-radio-checked-bgNullnullnull
Description
The background color of the checked RadioButton.
$kendo-radio-checked-textString$kendo-color-primaryvar(--kendo-color-primary, #3f51b5)
Description
The color of the checked RadioButton.
$kendo-radio-checked-borderString$kendo-radio-checked-textvar(--kendo-color-primary, #3f51b5)
Description
The border color of the checked RadioButton.
$kendo-radio-focus-borderNull$kendo-checkbox-focus-bordernull
Description
The border color of the focused RadioButton.
$kendo-radio-focus-shadowNull$kendo-checkbox-focus-shadownull
Description
The box shadow of the focused RadioButton.
$kendo-radio-focus-checked-borderNull$kendo-checkbox-focus-checked-bordernull
Description
The border color of the focused and checked RadioButton.
$kendo-radio-focus-checked-shadowNull$kendo-checkbox-focus-checked-shadownull
Description
The box shadow of the focused and checked RadioButton.
$kendo-radio-disabled-bgNullnullnull
Description
The background color of the disabled RadioButton.
$kendo-radio-disabled-textNullnullnull
Description
The color of the disabled RadioButton.
$kendo-radio-disabled-borderString$kendo-checkbox-disabled-bordervar(--kendo-color-base-emphasis, #adadad)
Description
The border color of the disabled RadioButton.
$kendo-radio-disabled-checked-bgNullnullnull
Description
The background color of the disabled and checked RadioButton.
$kendo-radio-disabled-checked-textString$kendo-radio-disabled-bordervar(--kendo-color-base-emphasis, #adadad)
Description
The color of the disabled and checked RadioButton.
$kendo-radio-disabled-checked-borderString$kendo-radio-disabled-bordervar(--kendo-color-base-emphasis, #adadad)
Description
The border color of disabled and checked RadioButton.
$kendo-radio-invalid-bgNull$kendo-checkbox-invalid-bgnull
Description
The background color of the invalid RadioButton.
$kendo-radio-invalid-textString$kendo-checkbox-invalid-textvar(--kendo-color-error, #f31700)
Description
The color of the invalid RadioButton.
$kendo-radio-invalid-borderString$kendo-checkbox-invalid-bordervar(--kendo-color-error, #f31700)
Description
The border color of the invalid RadioButton.
$kendo-radio-indicator-typeStringimageimage
Description
The type of the RadioButton indicator.
$kendo-radio-glyph-font-familyList"WebComponentsIcons", monospace"WebComponentsIcons", monospace
Description
The font family of the RadioButton indicator glyph.
$kendo-radio-checked-glyphString"\e308""\e308"
Description
The glyph of the RadioButton indicator.
$kendo-radio-checked-imageStringk-escape-svg( url("data:image/svg+xml,") )url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3e%3ccircle cx='50%25' cy='50%25' r='4' fill='var%28--kendo-color-primary, %233f51b5%29'/%3e%3c/svg%3e")
Description
The image of the checked RadioButton indicator.
$kendo-radio-disabled-checked-imageStringk-escape-svg( url("data:image/svg+xml,") )url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3e%3ccircle cx='50%25' cy='50%25' r='4' fill='var%28--kendo-color-base-emphasis, %23adadad%29'/%3e%3c/svg%3e")
Description
The image of the disabled and checked RadioButton indicator.
$kendo-radio-label-margin-xStringk-spacing(1)var(--kendo-spacing-1, 0.25rem)
Description
The horizontal margin of the RadioButton inside of a label.
$kendo-radio-list-spacingStringk-spacing(4)var(--kendo-spacing-4, 1rem)
Description
The horizontal list item margin of the RadioButton.
$kendo-radio-list-item-padding-xStringk-spacing(0)var(--kendo-spacing-0, 0px)
Description
The horizontal list item padding of the RadioButton.
$kendo-radio-list-item-padding-yString$kendo-list-md-item-padding-yvar(--kendo-spacing-2, 0.5rem)
Description
The vertical list item padding of the RadioButton.
$kendo-radio-ripple-bgString$kendo-color-primaryvar(--kendo-color-primary, #3f51b5)
Description
The background color of the RadioButton ripple..
$kendo-radio-ripple-opacityNumber.20.2
Description
The opacity of the RadioButton ripple.

In this article

Not finding the help you need?