RadioButton

RadioButtons allow for single selections out of predefined sets of mutually exclusive options.

Sass Variables

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

VariableDefault ValueComputed ValueValue
kendo-radio-radius50%50%Default: 50%Computed: 50%
Description: The border radius of the RadioButton.
kendo-radio-border-width1px1pxDefault: 1pxComputed: 1px
Description: The border width of the RadioButton.
kendo-radio-sm-sizek-spacing(3)var(--kendo-spacing-3, 0.75rem)Default: k-spacing(3)Computed: var(--kendo-spacing-3, 0.75rem)
Description: The size of a small RadioButton.
kendo-radio-md-sizek-spacing(4)var(--kendo-spacing-4, 1rem)Default: k-spacing(4)Computed: var(--kendo-spacing-4, 1rem)
Description: The size of a medium RadioButton.
kendo-radio-lg-sizek-spacing(5)var(--kendo-spacing-5, 1.25rem)Default: k-spacing(5)Computed: var(--kendo-spacing-5, 1.25rem)
Description: The size of a large RadioButton.
kendo-radio-sm-glyph-sizek-spacing(2.5)var(--kendo-spacing-2\.5, 0.625rem)Default: k-spacing(2.5)Computed: var(--kendo-spacing-2\.5, 0.625rem)
Description: The glyph size of a small RadioButton.
kendo-radio-md-glyph-sizek-spacing(3.5)var(--kendo-spacing-3\.5, 0.875rem)Default: k-spacing(3.5)Computed: var(--kendo-spacing-3\.5, 0.875rem)
Description: The glyph size of a medium RadioButton.
kendo-radio-lg-glyph-sizek-spacing(4.5)var(--kendo-spacing-4\.5, 1.125rem)Default: k-spacing(4.5)Computed: var(--kendo-spacing-4\.5, 1.125rem)
Description: The glyph size of a large RadioButton.
kendo-radio-sm-ripple-size300%300%Default: 300%Computed: 300%
Description: The ripple size of a small RadioButton.
kendo-radio-md-ripple-size300%300%Default: 300%Computed: 300%
Description: The ripple size of a medium RadioButton.
kendo-radio-lg-ripple-size300%300%Default: 300%Computed: 300%
Description: The ripple size of a large RadioButton.
kendo-radio-sizes( 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%))Default: ( 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 ) )Computed: (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-bg$kendo-checkbox-bgvar(--kendo-color-surface-alt, #ffffff)Default: $kendo-checkbox-bgComputed: var(--kendo-color-surface-alt, #ffffff)
Description: The background color of the RadioButton.
kendo-radio-text$kendo-checkbox-textnullDefault: $kendo-checkbox-textComputed: null
Description: The color of the RadioButton.
kendo-radio-border$kendo-checkbox-bordervar(--kendo-color-border, rgba(0, 0, 0, 0.08))Default: $kendo-checkbox-borderComputed: var(--kendo-color-border, rgba(0, 0, 0, 0.08))
Description: The border color of the RadioButton.
kendo-radio-hover-bg$kendo-checkbox-hover-bgnullDefault: $kendo-checkbox-hover-bgComputed: null
Description: The background color of the hovered RadioButton.
kendo-radio-hover-text$kendo-checkbox-hover-textnullDefault: $kendo-checkbox-hover-textComputed: null
Description: The color of the hovered RadioButton.
kendo-radio-hover-border$kendo-checkbox-hover-bordernullDefault: $kendo-checkbox-hover-borderComputed: null
Description: The border color of the hovered RadioButton.
kendo-radio-checked-bg$kendo-checkbox-checked-bgvar(--kendo-color-primary, #ff6358)Default: $kendo-checkbox-checked-bgComputed: var(--kendo-color-primary, #ff6358)
Description: The background color of the checked RadioButton.
kendo-radio-checked-text$kendo-checkbox-checked-textvar(--kendo-color-on-primary, #ffffff)Default: $kendo-checkbox-checked-textComputed: var(--kendo-color-on-primary, #ffffff)
Description: The color of the checked RadioButton.
kendo-radio-checked-border$kendo-checkbox-checked-bordervar(--kendo-color-primary, #ff6358)Default: $kendo-checkbox-checked-borderComputed: var(--kendo-color-primary, #ff6358)
Description: The border color of the checked RadioButton.
kendo-radio-focus-border$kendo-checkbox-focus-bordernullDefault: $kendo-checkbox-focus-borderComputed: null
Description: The border color of the focused RadioButton.
kendo-radio-focus-shadow$kendo-checkbox-focus-shadow0 0 0 2px rgba(0, 0, 0, 0.06)Default: $kendo-checkbox-focus-shadowComputed: 0 0 0 2px rgba(0, 0, 0, 0.06)
Description: The box shadow of the focused RadioButton.
kendo-radio-focus-checked-border$kendo-checkbox-focus-checked-bordernullDefault: $kendo-checkbox-focus-checked-borderComputed: null
Description: The border color of the focused and checked RadioButton.
kendo-radio-focus-checked-shadow$kendo-checkbox-focus-checked-shadow0 0 0 2px color-mix(in srgb, var(--kendo-color-primary, #ff6358) 30%, transparent)Default: $kendo-checkbox-focus-checked-shadowComputed: 0 0 0 2px color-mix(in srgb, var(--kendo-color-primary, #ff6358) 30%, transparent)
Description: The box shadow of the focused and checked RadioButton.
kendo-radio-disabled-bg$kendo-checkbox-disabled-bgnullDefault: $kendo-checkbox-disabled-bgComputed: null
Description: The background color of the disabled RadioButton.
kendo-radio-disabled-text$kendo-checkbox-disabled-textnullDefault: $kendo-checkbox-disabled-textComputed: null
Description: The color of the disabled RadioButton.
kendo-radio-disabled-border$kendo-checkbox-disabled-bordernullDefault: $kendo-checkbox-disabled-borderComputed: null
Description: The border color of the disabled RadioButton.
kendo-radio-disabled-checked-bg$kendo-checkbox-disabled-checked-bgnullDefault: $kendo-checkbox-disabled-checked-bgComputed: null
Description: The background color of the disabled and checked RadioButton.
kendo-radio-disabled-checked-text$kendo-checkbox-disabled-checked-textnullDefault: $kendo-checkbox-disabled-checked-textComputed: null
Description: The color of the disabled and checked RadioButton.
kendo-radio-disabled-checked-border$kendo-checkbox-disabled-checked-bordernullDefault: $kendo-checkbox-disabled-checked-borderComputed: null
Description: The border color of disabled and checked RadioButton.
kendo-radio-invalid-bg$kendo-checkbox-invalid-bgnullDefault: $kendo-checkbox-invalid-bgComputed: null
Description: The background color of the invalid RadioButton.
kendo-radio-invalid-text$kendo-checkbox-invalid-textvar(--kendo-color-error, #f31700)Default: $kendo-checkbox-invalid-textComputed: var(--kendo-color-error, #f31700)
Description: The color of the invalid RadioButton.
kendo-radio-invalid-border$kendo-checkbox-invalid-bordervar(--kendo-color-error, #f31700)Default: $kendo-checkbox-invalid-borderComputed: var(--kendo-color-error, #f31700)
Description: The border color of the invalid RadioButton.
kendo-radio-indicator-typeimageimageDefault: imageComputed: image
Description: The type of the RadioButton indicator.
kendo-radio-glyph-font-family"WebComponentsIcons", monospace"WebComponentsIcons", monospaceDefault: "WebComponentsIcons", monospaceComputed: "WebComponentsIcons", monospace
Description: The font family of the RadioButton indicator glyph.
kendo-radio-checked-glyph"\e308""\e308"Default: "\e308"Computed: "\e308"
Description: The glyph of the RadioButton indicator.
kendo-radio-checked-imagek-escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><circle cx='50%' cy='50%' r='4' fill='#{$kendo-radio-checked-text}'/></svg>") )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-on-primary, %23ffffff%29'/%3e%3c/svg%3e")Default: k-escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'><circle cx='50%' cy='50%' r='4' fill='#{$kendo-radio-checked-text}'/></svg>") )Computed: 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-on-primary, %23ffffff%29'/%3e%3c/svg%3e")
Description: The image of the checked RadioButton indicator.
kendo-radio-disabled-checked-imagenullnullDefault: nullComputed: null
Description: The image of the disabled and checked RadioButton indicator.
kendo-radio-label-margin-xk-spacing(1)var(--kendo-spacing-1, 0.25rem)Default: k-spacing(1)Computed: var(--kendo-spacing-1, 0.25rem)
Description: The horizontal margin of the RadioButton inside of a label.
kendo-radio-list-spacingk-spacing(4)var(--kendo-spacing-4, 1rem)Default: k-spacing(4)Computed: var(--kendo-spacing-4, 1rem)
Description: The horizontal list item margin of the RadioButton.
kendo-radio-list-item-padding-xk-spacing(0)var(--kendo-spacing-0, 0px)Default: k-spacing(0)Computed: var(--kendo-spacing-0, 0px)
Description: The horizontal list item padding of the RadioButton.
kendo-radio-list-item-padding-y$kendo-list-md-item-padding-yvar(--kendo-spacing-1, 0.25rem)Default: $kendo-list-md-item-padding-yComputed: var(--kendo-spacing-1, 0.25rem)
Description: The vertical list item padding of the RadioButton.
kendo-radio-ripple-bg$kendo-radio-checked-bgvar(--kendo-color-primary, #ff6358)Default: $kendo-radio-checked-bgComputed: var(--kendo-color-primary, #ff6358)
Description: The background color of the RadioButton ripple.
kendo-radio-ripple-opacity.250.25Default: .25Computed: 0.25
Description: The opacity of the RadioButton ripple.