New to KendoReactLearn about KendoReact Free.

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.

Change Theme
Theme
Loading ...

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 className for trackRounded

The following example demonstrates how to define the track border radius of the Switch.

Change Theme
Theme
Loading ...

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 className for thumbRounded

The following example demonstrates how to define the thumb border radius of the Switch.

Change Theme
Theme
Loading ...