Slider

The Slider component allows you to select predefined values by dragging a handle or clicking side buttons.

Sass Variables

The Telerik and Kendo UI Slider enables you to configure and customize its appearance through the available Sass variables. Additionally, to configure and customize the appearance of its buttons, use the Sass variables provided by the Button component.

VariableDefault ValueComputed ValueValue
kendo-slider-size200px200pxDefault: 200pxComputed: 200px
Description: The default size of the Slider.
kendo-slider-tick-sizenullnullDefault: nullComputed: null
Description: The default size of the Slider tick.
kendo-slider-alt-size30px30pxDefault: 30pxComputed: 30px
Description: The default size of the Slider's track wrap.
kendo-slider-font-family$kendo-font-familyinheritDefault: $kendo-font-familyComputed: inherit
Description: The font family of the Slider.
kendo-slider-font-size$kendo-font-size-md14pxDefault: $kendo-font-size-mdComputed: 14px
Description: The font size of the Slider.
kendo-slider-line-height$kendo-line-height-md1.4285714286Default: $kendo-line-height-mdComputed: 1.4285714286
Description: The line height of the Slider.
kendo-slider-button-offset10px10pxDefault: 10pxComputed: 10px
Description: The offset of the Slider Buttons.
kendo-slider-button-size($kendo-slider-alt-size - 2)28pxDefault: ($kendo-slider-alt-size - 2)Computed: 28px
Description: The size of the Slider Buttons.
kendo-slider-button-spacing($kendo-slider-button-size + $kendo-slider-button-offset)38pxDefault: ($kendo-slider-button-size + $kendo-slider-button-offset)Computed: 38px
Description: The spacing of the Slider Buttons.
kendo-slider-button-focus-shadownullnullDefault: nullComputed: null
Description: The shadow of the focused Slider Buttons.
kendo-slider-track-thickness4px4pxDefault: 4pxComputed: 4px
Description: The thickness of the Slider track.
kendo-slider-draghandle-size14px14pxDefault: 14pxComputed: 14px
Description: The size of the Slider drag handle.
kendo-slider-draghandle-border-width1px1pxDefault: 1pxComputed: 1px
Description: The border width of the Slider drag handle.
kendo-slider-draghandle-active-scale11Default: 1Computed: 1
Description: The transition scale of the active Slider drag handle.
kendo-slider-draghandle-active-sizenullnullDefault: nullComputed: null
Description: The size of the active Slider drag handle.
kendo-slider-draghandle-bg$kendo-color-primary #ff6358Default: $kendo-color-primaryComputed: #ff6358
Description: The background color of the Slider drag handle.
kendo-slider-draghandle-textif($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-color-primary )) whiteDefault: if($kendo-enable-color-system, k-color( on-primary ), k-contrast-legacy( $kendo-color-primary ))Computed: white
Description: The text color of the Slider drag handle.
kendo-slider-draghandle-border$kendo-color-primary #ff6358Default: $kendo-color-primaryComputed: #ff6358
Description: The border color of the Slider drag handle.
kendo-slider-draghandle-gradientnullnullDefault: nullComputed: null
Description: The gradient of the Slider drag handle.
kendo-slider-draghandle-hover-bgif($kendo-enable-color-system, k-color( primary-hover ), k-try-shade( $kendo-color-primary , .5 )) #f55f54Default: if($kendo-enable-color-system, k-color( primary-hover ), k-try-shade( $kendo-color-primary , .5 ))Computed: #f55f54
Description: The background color of the hovered Slider drag handle.
kendo-slider-draghandle-hover-textnullnullDefault: nullComputed: null
Description: The text color of the hovered Slider drag handle.
kendo-slider-draghandle-hover-border$kendo-color-primary #ff6358Default: $kendo-color-primaryComputed: #ff6358
Description: The border color of the hovered Slider drag handle.
kendo-slider-draghandle-hover-gradientnullnullDefault: nullComputed: null
Description: The gradient of the hovered Slider drag handle.
kendo-slider-draghandle-pressed-bgif($kendo-enable-color-system, k-color( primary-active ), k-try-shade( $kendo-color-primary , 1.5 )) #e0574dDefault: if($kendo-enable-color-system, k-color( primary-active ), k-try-shade( $kendo-color-primary , 1.5 ))Computed: #e0574d
Description: The background color of the active Slider drag handle.
kendo-slider-draghandle-pressed-textnullnullDefault: nullComputed: null
Description: The text color of the active Slider drag handle.
kendo-slider-draghandle-pressed-borderif($kendo-enable-color-system, k-color( primary-active ), k-try-shade( $kendo-color-primary , 1.5 )) #e0574dDefault: if($kendo-enable-color-system, k-color( primary-active ), k-try-shade( $kendo-color-primary , 1.5 ))Computed: #e0574d
Description: The border color of the active Slider drag handle.
kendo-slider-draghandle-pressed-gradientnullnullDefault: nullComputed: null
Description: The gradient of the active Slider drag handle.
kendo-slider-draghandle-focus-shadow0 0 0 2px if($kendo-enable-color-system, rgba( k-color( primary, true ), .3 ), rgba( $kendo-color-primary , .3 ))0 0 0 2px rgba(255, 99, 88, 0.3)Default: 0 0 0 2px if($kendo-enable-color-system, rgba( k-color( primary, true ), .3 ), rgba( $kendo-color-primary , .3 ))Computed: 0 0 0 2px rgba(255, 99, 88, 0.3)
Description: The shadow of the focused Slider drag handle.
kendo-slider-transition-speed.3s0.3sDefault: .3sComputed: 0.3s
Description: The transition speed of the Slider.
kendo-slider-transition-functionease-outease-outDefault: ease-outComputed: ease-out
Description: The transition function of the Slider.
kendo-slider-draghandle-transition-speed.4s0.4sDefault: .4sComputed: 0.4s
Description: The transition speed of the Slider drag handle.
kendo-slider-draghandle-transition-functioncubic-bezier(.25, .8, .25, 1)cubic-bezier(0.25, 0.8, 0.25, 1)Default: cubic-bezier(.25, .8, .25, 1)Computed: cubic-bezier(0.25, 0.8, 0.25, 1)
Description: The transition function of the Slider drag handle.
kendo-slider-track-bgif($kendo-enable-color-system, k-color( base-subtle ), k-try-shade( $kendo-component-bg, 1 )) #ebebebDefault: if($kendo-enable-color-system, k-color( base-subtle ), k-try-shade( $kendo-component-bg, 1 ))Computed: #ebebeb
Description: The background color of the Slider track.
kendo-slider-selection-bg$kendo-color-primary #ff6358Default: $kendo-color-primaryComputed: #ff6358
Description: The background color of the Slider's track selection.
kendo-slider-disabled-opacitynullnullDefault: nullComputed: null
Description: