---
title: Toggle
description: A two-state button that can be either on or off.
source: apps/www/registry/default/ui/toggle
primitive: https://www.reka-ui.com/docs/components/toggle.html
---
## Installation
```bash
npx shadcn-vue@latest add toggle
```
### Install the following dependencies:
```bash
npm install reka-ui
```
### Copy and paste the following code into your project
<<< @/registry/default/ui/toggle/Toggle.vue
## Usage
```vue
Toggle
```
## Examples
### Default
### Outline
### With Text
### Small
### Large
### Disabled