@blueprintjs/core
Version:
Core styles & components
23 lines (14 loc) • 475 B
text/mdx
title: Switch
# Switch
**Switch** is a form control for toggling between boolean states. It is similar to
[**Checkbox**](#core/components/checkbox), but presents a more skeuomorphic appearance that mimics a physical switch.
Its whole label is interactive and it supports a few visual modifiers for different UI layouts.
## Import
```ts copy
import { Switch } from "@blueprintjs/core";
```
@reactExample SwitchExample
## Props interface
@interface SwitchProps