@blueprintjs/core
Version:
Core styles & components
19 lines (11 loc) • 451 B
Markdown
# 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
```tsx
import { Switch } from "@blueprintjs/core";
```
## Props interface