# certara-radio

<!-- Auto Generated Below -->


## Overview

Use radio buttons where users must make a single selection.

## Properties

| Property   | Attribute  | Description                                                              | Type                                                      | Default     |
| ---------- | ---------- | ------------------------------------------------------------------------ | --------------------------------------------------------- | ----------- |
| `checked`  | `checked`  | The checked state of the radio                                           | `boolean`                                                 | `false`     |
| `disabled` | `disabled` | The disabled state of the radio                                          | `boolean`                                                 | `false`     |
| `layout`   | `layout`   | Stacked radios have one per line, inline radios are all on the same line | `"inline" \| "inline-block" \| "stacked" \| "standalone"` | `'inline'`  |
| `name`     | `name`     | The name of the radio                                                    | `string`                                                  | `undefined` |
| `size`     | `size`     | The size of the checkbox                                                 | `"md" \| "sm"`                                            | `'md'`      |
| `value`    | `value`    | The value of the radio                                                   | `any`                                                     | `'on'`      |


## Events

| Event           | Description                                  | Type                                          |
| --------------- | -------------------------------------------- | --------------------------------------------- |
| `certaraBlur`   | Standard event emitted when radio is blurred | `CustomEvent<void>`                           |
| `certaraChange` | Standard event emitted when radio is toggled | `CustomEvent<CheckboxChangeEventDetail<any>>` |
| `certaraFocus`  | Standard event emitted when radio is focused | `CustomEvent<void>`                           |


## Slots

| Slot     | Description                         |
| -------- | ----------------------------------- |
|          | Content for the label               |
| `"help"` | Help text that sits below the label |


## Dependencies

### Depends on

- [certara-checkbox](../checkbox)

### Graph
```mermaid
graph TD;
  certara-radio --> certara-checkbox
  certara-checkbox --> certara-help-block
  style certara-radio fill:#f9f,stroke:#333,stroke-width:4px
```

----------------------------------------------


