• What is KendoReact
  • Getting Started
  • Server Components
  • Components
    • Animation
    • Barcodes
    • Buttons
    • Chartsupdated
    • Common Utilities
    • Conversational UIupdated
    • Data Gridupdated
    • Data Query
    • Data Tools
    • Date Inputs
    • Date Math
    • Dialogs
    • Drawing
    • Dropdownsupdated
    • Editor
    • Excel Export
    • File Saver
    • Formupdated
    • Ganttupdated
    • Gauges
    • Indicators
    • Inputsupdated
    • Labels
    • Layoutupdated
    • ListBoxupdated
    • ListView
    • Map
    • Notification
    • OrgChartnew
    • PDF Processing
    • PDFViewer
    • PivotGrid
    • Popup
    • Progress Bars
    • Ripple
    • Scheduler
    • ScrollView
    • Sortable
    • Spreadsheetupdated
    • TaskBoard
    • Tooltips
    • TreeList
    • TreeViewupdated
    • Upload
  • Sample Applications
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Changelog
  • Updates
  • Troubleshooting

SliderProps

Represents the props of the KendoReact Slider component.

NameTypeDefaultDescription

ariaDescribedBy?

string

Identifies the element(s) which will describe the component, similar to HTML aria-describedby attribute. For example these elements could contain error or hint message.

ariaLabel?

string

The accessible label of the component.

ariaLabelledBy?

string

Identifies the element(s) which will label the component.

buttons?

boolean

Renders the arrow side buttons of the Slider if set to true.

children?

React.ReactNode

className?

string

Sets additional classes to the Slider.

defaultValue?

number

The default value of the Slider.

dir?

Direction

disabled?

boolean

Determines whether the Slider is disabled.

class App extends React.Component {
   render() {
      return (
          <Slider disabled={true} min={0} max={10} defaultValue={5} />
      );
   }
}
ReactDOM.render(<App />, document.querySelector('my-app'));

id?

string

Specifies the id of the component.

max

number

The maximum value of the Slider.

min

number

The minimum value of the Slider.

name?

string

Specifies the name property of the input DOM element.

This property is part of the FormComponentProps interface.

onChange?

(event: SliderChangeEvent) => void

Determines the event handler that will be fired when the user edits the value.

required?

boolean

Specifies if null is a valid value for the component.

This property is part of the FormComponentProps interface.

step?

number

Specifies the step of the value increase and decrease.

style?

React.CSSProperties

The styles that are applied to the Slider.

tabIndex?

number

Specifies the tabindex of the Slider.

valid?

boolean

Overrides the validity state of the component. If valid is set, the required property will be ignored.

This property is part of the FormComponentProps interface.

validationMessage?

string

Controls the form error message of the component. If set to an empty string, no error will be thrown.

This property is part of the FormComponentProps interface.

validityStyles?

boolean

If set to false, no visual representation of the invalid state of the component will be applied.

This property is part of the FormComponentProps interface.

value?

number

The value of the Slider.

vertical?

boolean

If vertical is set to true, the orientation of the Slider changes from horizontal to vertical (see example).