New to Kendo UI for AngularStart a free 30-day trial

Customizing Radio

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-radio-border-radiusNumber50%50%
Description
The border radius of the RadioButton.
$kendo-radio-border-widthNumber1px1px
Description
The border width of the RadioButton.
$kendo-radio-sizesMap( sm: ( size: k-spacing(4), glyph-size: k-spacing(3.5), indicator-size: k-spacing(2), ripple-size: 300% ), md: ( size: k-spacing(5), glyph-size: k-spacing(4.5), indicator-size: k-spacing(2.5), ripple-size: 300% ), lg: ( size: k-spacing(6), glyph-size: k-spacing(5.5), indicator-size: k-spacing(3), ripple-size: 300% ) )
  • sm: "size":"var(--kendo-spacing-4, 1rem)","glyph-size":"var(--kendo-spacing-3\\.5, 0.875rem)","indicator-size":"var(--kendo-spacing-2, 0.5rem)","ripple-size":"300%"
  • md: "size":"var(--kendo-spacing-5, 1.25rem)","glyph-size":"var(--kendo-spacing-4\\.5, 1.125rem)","indicator-size":"var(--kendo-spacing-2\\.5, 0.625rem)","ripple-size":"300%"
  • lg: "size":"var(--kendo-spacing-6, 1.5rem)","glyph-size":"var(--kendo-spacing-5\\.5, 1.375rem)","indicator-size":"var(--kendo-spacing-3, 0.75rem)","ripple-size":"300%"
Description
The map with the different RadioButton sizes.
$kendo-radio-bgString$kendo-component-bgvar(--kendo-color-surface-alt, #ffffff)
Description
The background color of the RadioButton.
$kendo-radio-textColortransparenttransparent
Description
The color of the RadioButton.
$kendo-radio-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 RadioButton.
$kendo-radio-hover-bgString$kendo-radio-bgvar(--kendo-color-surface-alt, #ffffff)
Description
The background color of the hovered RadioButton.
$kendo-radio-hover-textStringif($kendo-enable-color-system, k-color( subtle ), k-get-theme-color( neutral, 130 ))var(--kendo-color-subtle, #605e5c)
Description
The color of the hovered RadioButton.
$kendo-radio-hover-borderString$kendo-radio-bordervar(--kendo-color-border-alt, #323130)
Description
The border color of the hovered RadioButton.
$kendo-radio-checked-bgString$kendo-radio-bgvar(--kendo-color-surface-alt, #ffffff)
Description
The background color of the checked RadioButton.
$kendo-radio-checked-textStringif($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 ))var(--kendo-color-primary, #0078d4)
Description
The color of the checked RadioButton.
$kendo-radio-checked-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 checked RadioButton.
$kendo-radio-hover-checked-bgString$kendo-radio-bgvar(--kendo-color-surface-alt, #ffffff)
Description
The background color of the checked and hovered RadioButton.
$kendo-radio-hover-checked-textStringif($kendo-enable-color-system, k-color( primary-hover ), k-get-theme-color-var( primary-110 ))var(--kendo-color-primary-hover, #106ebe)
Description
The color of the checked and hovered RadioButton.
$kendo-radio-hover-checked-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 checked and hovered RadioButton.
$kendo-radio-focus-borderNullnullnull
Description
The border color of the focused RadioButton.
$kendo-radio-focus-shadowNullnullnull
Description
The box shadow of the focused RadioButton.
$kendo-radio-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 RadioButton.
$kendo-radio-focus-outline-offsetNumber2px2px
Description
The outline offset of the focused RadioButton.
$kendo-radio-disabled-bgString$kendo-radio-bgvar(--kendo-color-surface-alt, #ffffff)
Description
The background color of the disabled RadioButton.
$kendo-radio-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 color of the disabled RadioButton.
$kendo-radio-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 RadioButton.
$kendo-radio-disabled-checked-bgString$kendo-radio-disabled-bgvar(--kendo-color-surface-alt, #ffffff)
Description
The background color of the disabled and checked RadioButton.
$kendo-radio-disabled-checked-textString$kendo-radio-disabled-textcolor-mix(in srgb, var(--kendo-color-on-app-surface, #323130) 28%, transparent)
Description
The color of the disabled and checked RadioButton.
$kendo-radio-disabled-checked-borderString$kendo-radio-disabled-bordercolor-mix(in srgb, var(--kendo-color-on-app-surface, #323130) 28%, transparent)
Description
The border color of the disabled and checked RadioButton.
$kendo-radio-invalid-bgString$kendo-radio-bgvar(--kendo-color-surface-alt, #ffffff)
Description
The background color of the invalid RadioButton.
$kendo-radio-invalid-textString$kendo-invalid-textvar(--kendo-color-error-on-surface, #a4262c)
Description
The color of the invalid RadioButton.
$kendo-radio-invalid-borderString$kendo-invalid-bordervar(--kendo-color-error-emphasis, #a4262c)
Description
The border color of the invalid RadioButton.
$kendo-radio-indicator-typeStringpseudopseudo
Description
The type of the RadioButton indicator.
$kendo-radio-indicator-border-radiusNumber50%50%
Description
The border radius of the RadioButton indicator.
$kendo-radio-glyph-font-familyList"WebComponentsIcons", monospace"WebComponentsIcons", monospace
Description
The glyph font family of the RadioButton indicator.
$kendo-radio-checked-glyphString"\e308""\e308"
Description
The glyph of the RadioButton indicator.
$kendo-radio-checked-imageStringescape-svg( url("data:image/svg+xml,") )url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3e%3ccircle cx='50%25' cy='50%25' r='4' fill='var%28--kendo-color-primary, %230078d4%29'/%3e%3c/svg%3e")
Description
The image of the checked RadioButton indicator.
$kendo-radio-disabled-checked-imageNullnullnull
Description
The image of the disabled and checked RadioButton indicator.
$kendo-radio-label-spacingStringk-spacing(2)var(--kendo-spacing-2, 0.5rem)
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-list-item-gapStringk-spacing(2)var(--kendo-spacing-2, 0.5rem)
Description
The gap between the list items of the RadioButton.
$kendo-radio-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 RadioButton ripple.
$kendo-radio-ripple-opacityNumber.250.25
Description
The opacity of the RadioButton ripple.
In this article
VariablesSuggested Links
Not finding the help you need?
Contact Support