# radiobutton

```ts
import { RadioButtonModule } from '@anguless/angulux/radiobutton';
```

## RadioButton

`agl-radioButton, agl-radiobutton, agl-radio-button` — component

Inherits every input, output and slot of `BaseEditableHolder` — see [baseeditableholder.md](baseeditableholder.md).

RadioButton is an extension to standard radio button element with theming.

| Input | Type | Default | Description |
| --- | --- | --- | --- |
| `value` | `any` | _not documented_ | Value of the radiobutton. |
| `tabindex` | `number \| undefined` | _not documented_ | Index of the element in tabbing order. |
| `inputId` | `string \| undefined` | _not documented_ | Identifier of the focus input to match a label defined for the component. |
| `ariaLabelledBy` | `string \| undefined` | _not documented_ | Establishes relationships between the component and label(s) where its value should be one or more element IDs. |
| `ariaLabel` | `string \| undefined` | _not documented_ | Used to define a string that labels the input element. |
| `styleClass` | `string \| undefined` | _not documented_ | Style class of the component. **Deprecated:** since v20.0.0, use `class` instead. |
| `autofocus` | `boolean \| undefined` | _not documented_ | When present, it specifies that the component should automatically get focus on load. |
| `binary` | `boolean \| undefined` | _not documented_ | Allows to select a boolean value. |
| `variant` | `'filled' \| 'outlined' \| undefined` | `undefined` | Specifies the input variant of the component. |
| `size` | `'large' \| 'small' \| undefined` | `undefined` | Specifies the size of the component. |

| Output | Type | Description |
| --- | --- | --- |
| `onClick` | `EventEmitter<RadioButtonClickEvent>` | Callback to invoke on radio button click. |
| `onFocus` | `EventEmitter<Event>` | Callback to invoke when the receives focus. |
| `onBlur` | `EventEmitter<Event>` | Callback to invoke when the loses focus. |
