{% set title = 'Radio' %} {% set filename = 'form-element-radio.html' %} {% extends 'src/layouts/master.html' %} {% block content %}

### Radio

Choose one from a list with radio buttons.

#### Default Radio

Default radio
Default checked radio
Disabled radio
Disabled checked radio

#### Colors

Use class `.form-check-{color}` with `.form-check` to change radio color

Primary
Secondary
Warning
Danger
Success
Dark

#### Switches

A switch has the markup of a custom checkbox but uses the `.form-switch` class to render a toggle switch. Switches also support the disabled attribute.

Default switch checkbox input
Checked switch checkbox input
Disabled switch checkbox input
Disabled checked switch checkbox input

#### With Buttons

A switch has the markup of a custom checkbox but uses the `.form-switch` class to render a toggle switch. Switches also support the disabled attribute.

Checked success radio Danger radio
{% endblock %}