--- title: Toggle description: This crazy toggling button keeps people toggling...😃 lastUpdated: 09 Sep, 2025 links: source: https://github.com/logging-studio/RetroUI/blob/main/components/retroui/Toggle.tsx ---

#### 1. Install dependencies: ```sh npm install @radix-ui/react-toggle ```
#### 2. Copy the code 👇 into your project:


## Examples ### Default

### Outlined

### Solid

### Outline Muted