# `m-toggle-group`

A toggle is a switch component that allows users to enable or disable a setting, representing a binary state such as on/off or active/inactive. It provides a quick and intuitive way to control preferences or system settings. Toggles are commonly used in settings menus, dark mode switches, and feature activations, offering an alternative to checkboxes for immediate visual feedback.

## Props

| Name | Description | Type | Default |
|------|-------------|------|---------|
| `name*` | The name attribute for the toggle element, typically used for form submission. | `string` |   |
| `value` | The current value of the toggle group. | `Array<string>` | `$bindable([])` |
| `options*` | List of properties of each toggle of the toggle group. | `Array<{ id: string; label: string; value: string; disabled?: boolean; size?: 's'` `'m'; }>` |   |
| `inline` | If `true`, make the form element of the group inline. | `boolean` |   |

