# Toggle · ToggleGroup

On/off button (`<Toggle>`) and grouped toggle sets (`<ToggleGroup>`). Use for formatting toolbars, view-mode switches, and any compact two-state control. `ToggleGroup` accepts `type="single"` for radio-style behavior or `type="multiple"` for checkbox-style.

[View examples](https://marsam.rahhal.app/components/toggle) · [Agent index](https://marsam.rahhal.app/llms.txt)

**Import:** `@rahhal/ui/toggle · @rahhal/ui/toggle-group`

**Category:** `actions`
