Appearance
The Switch component provides a predefined set of appearance options.
Apart from the default vision of the Switch, these alternative styling options enable you to configure each individual aspect of the appearance of a Switch.
Size
The KendoReact Switch enables you to configure its size.
- small
- medium(Default)
- large
- null- Does not set a size- className
The following example demonstrates how to set the size of the Switch.
Track Border Radius
The Switch enables you to apply different border radius to the track through the trackRounded property.
The trackRounded option supports the following values:
- small
- medium
- large
- full(Default)
- null- Does not set a- classNamefor trackRounded
The following example demonstrates how to define the track border radius of the Switch.
Thumb Border Radius
The Switch enables you to apply different border radius to the thumb through the thumbRounded property.
The thumbRounded option supports the following values:
- small
- medium
- large
- full(Default)
- null- Does not set a- classNamefor thumbRounded
The following example demonstrates how to define the thumb border radius of the Switch.