# Radio Buttons

This field type renders radio buttons.

### Parameters

Parameters are inherited from the [Select](https://docs.hivepress.io/developer-docs/framework/fields/select) field type, but `multiple` is always set to `false`.

### Example

The code below renders a field with the `custom_field` name, "Custom field" label and three radio buttons, requiring a single option to be selected.

```php
echo ( new HivePress\Fields\Radio(
	[
		'name'     => 'custom_field',
		'label'    => 'Custom field',
		'required' => true,

		'options'  => [
			'one'   => 'One',
			'two'   => 'Two',
			'three' => 'Three',
		],
	]
) )->render();
```
