---
title: Switch
slug: switch
Description: Toggle switch alternative to the checkbox.
section: components
---
# Switch

<Description>Toggle switch alternative to the checkbox.</Description>

<ComponentThemesPreview name="switch" file="switch-demo" />

## API Reference


## Examples

### Size

Use the `size` prop to control the size of the switch.

<ComponentThemesPreview name="switch" file="switch-sizes-demo" />

### Radius

Use the `radius` prop to assign a specific radius value.

<ComponentThemesPreview name="switch" file="switch-radius-demo" />
