Components
    • Animation
    • Buttons
    • Charts
    • Common Utilities
    • Conversational UI
    • Data Query
    • Data Tools
    • Date Inputs
    • Date Math
    • Dialogs
    • Drawing
    • Dropdowns
    • Editor
    • Excel Export
    • File Saver
    • Form
    • Gantt
    • Gauges
    • Grid
    • Indicators
    • Inputs
    • Labels
    • Layout
    • ListBox
    • ListView
    • Notification
    • PDF Processing
    • Popup
    • Progress Bars
    • Ripple
    • Scheduler
    • Sortable
    • Tooltip
    • TreeList
    • TreeView
    • Upload
    Sample Applications
    Styling & Themes
    Common Features
    Project Setup
    Changelog
New to KendoReact? Start a free 30-day trial

Switch

A subclass of React.Component.

Represents the [KendoReact Switch component]({% slug overview_switch%}).

props

Readonly<SwitchProps> intersected with Readonly<{ children?: ReactNode; }>

The props of the Switch component.

element

HTMLSpanElement | null

name

string | undefined

Gets the name property of the Switch.

validity

FormComponentValidity

Represents the validity state into which the Switch is set.

value

boolean

Gets the value of the Switch.

In this article

Not finding the help you need?