Optionalaria-Optionalaria-Identifies the element (or elements) that describes the object.
Optionalaria-Identifies the element (or elements) that provide a detailed, extended description for the object.
Optionalaria-Defines a string value that labels the current element.
Optionalaria-Identifies the element (or elements) that labels the current element.
OptionalautoWhether the element should receive focus on render.
OptionalchildrenThe children of the component. A function may be provided to alter the children based on component state.
OptionalclassThe CSS className for the element. A function may be provided to compute the class based on component state.
OptionaldefaultWhether the Switch should be selected (uncontrolled).
OptionaldirOptionalexcludeWhether to exclude the element from the sequential tab order. If true, the element will not be focusable via the keyboard by tabbing. This should be avoided except in rare scenarios where an alternative means of accessing the element or its functionality via the keyboard is available.
OptionalformThe <form> element to associate the input with.
The value of this attribute must be the id of a <form> in the same document.
See MDN.
OptionalhiddenOptionalidThe element's unique identifier. See MDN.
OptionalinertOptionalinputA ref for the HTML input element.
OptionalisWhether the input is disabled.
OptionalisWhether the input can be selected but not changed by the user.
OptionalisWhether the Switch should be selected (controlled).
OptionallabelThe label of the switch
OptionallangOptionalnameThe name of the input element, used when submitting an HTML form. See MDN.
OptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonHandler that is called when the element loses focus.
OptionalonHandler that is called when the Switch's selection state changes.
OptionalonOptionalonOptionalonOptionalonOptionalonOptionalonHandler that is called when the element receives focus.
OptionalonHandler that is called when the element's focus status changes.
OptionalonOptionalonOptionalonHandler that is called when the hover state changes.
OptionalonHandler that is called when a hover interaction ends.
OptionalonHandler that is called when a hover interaction starts.
OptionalonHandler that is called when a key is pressed.
OptionalonHandler that is called when a key is released.
OptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalonOptionalslotA slot name for the component. Slots allow the component to receive props from a parent component.
An explicit null value indicates that the local props completely override all props received from a parent.
OptionalstyleThe inline style for the element. A function may be provided to compute the style based on component state.
OptionaltranslateOptionalvalueThe value of the input element, used when submitting an HTML form. See MDN.
Identifies the element (or elements) whose contents or presence are controlled by the current element.