--- title: SwitchHandle description: "Learn how to build custom functionality when working with the React Inputs by Kendo UI with the help of the SwitchHandle." api_reference: true type: inner_api slug: api_inputs_switchhandle --- # SwitchHandle Represent the `ref` of the Switch component.
Name Type Default Description
#### element "null" | HTMLSpanElement Returns the HTML element of the Switch component.
#### focus () => void Sets the focus on the Switch.
#### name undefined | string Gets the `name` property of the Switch.
#### props [SwitchProps]({% slug api_inputs_switchprops %}) The props of the SwitchHandle component.
#### validity [FormComponentValidity]({% slug api_inputs_formcomponentvalidity %}) Represents the validity state into which the Switch is set.
#### value boolean Gets the value of the Switch.