---
title: "Toggle"
description: "A single toggle button primitive with pressed and unpressed states"
---
# Toggle
A single toggle button primitive with pressed and unpressed states
`ui-primitive` `remocn-port` `toggle` `control`
## Install
```bash Terminal
npx hyperframes add toggle
```
## Details
| Property | Value |
| --- | --- |
| Type | Component |
## Files
| File | Target | Type |
| --- | --- | --- |
| `toggle.html` | `compositions/components/toggle.html` | hyperframes:snippet |
## Usage
Open `compositions/components/toggle.html` and paste its contents into your composition. See the comment header in the file for detailed instructions.