# Toggle

Single state button toggle

**Parts:** `Toggle`

## Toggle

### Props

| Prop           | Type                 | Default    |
| -------------- | -------------------- | ---------- |
| `as`           | `AsTag \| Component` | `"button"` |
| `asChild`      | `boolean`            | -          |
| `defaultValue` | `boolean`            | -          |
| `disabled`     | `boolean`            | `false`    |
| `pressed`      | `boolean`            | -          |

### Emits

| Event            | Payload            |
| ---------------- | ------------------ |
| `update:pressed` | `[value: boolean]` |

### Slots

| Slot      | Type      |
| --------- | --------- |
| `pressed` | `boolean` |
