Customizing Slider

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-slider-inline-sizeNumber20em20em
Description
The default slider size.
$kendo-slider-block-sizeNumber22px22px
Description
The default slider track wrap size.
$kendo-slider-spacingStringk-spacing(2)var(--kendo-spacing-2, 0.5rem)
Description
The spacing of the slider.
$kendo-slider-font-familyNullnullnull
Description
Font family of the slider.
$kendo-slider-font-sizeNumber$kendo-font-size-md1rem
Description
Font size of the slider.
$kendo-slider-line-heightNumber$kendo-line-height-md1.5
Description
Line height of the slider.
$kendo-slider-track-sizeStringk-spacing(1)var(--kendo-spacing-1, 0.25rem)
Description
The size of the slider track.
$kendo-slider-track-border-radiusStringk-spacing(1)var(--kendo-spacing-1, 0.25rem)
Description
The border radius of the slider track.
$kendo-slider-thumb-sizeStringk-spacing(4)var(--kendo-spacing-4, 1rem)
Description
The default size of the slider thumb.
$kendo-slider-thumb-border-widthStringk-spacing(0.5)var(--kendo-spacing-0\.5, 0.125rem)
Description
The default border width of the slider thumb.
$kendo-slider-thumb-border-radiusNumber9999px9999px
Description
The border radius of the slider thumb.
$kendo-slider-thumb-active-scaleNullnullnull
Description
The active transition scale of the slider thumb.
$kendo-slider-thumb-active-sizeNullnullnull
Description
The active size of the slider thumb.
$kendo-slider-transition-speedNumber.3s0.3s
Description
The transition speed of the slider.
$kendo-slider-transition-functionStringease-outease-out
Description
The transition function function.
$kendo-slider-thumb-transition-speedNumber.4s0.4s
Description
The transition speed of the slider thumb.
$kendo-slider-thumb-transition-functionStringcubic-bezier(.25, .8, .25, 1)cubic-bezier(0.25, 0.8, 0.25, 1)
Description
The transition function of the slider thumb.

In this article

Not finding the help you need?