1. Components
  2. Radio

Basic Forms

Tailwind CSS Radio

A radio input allows people to select only one option from a number of choices. Radio is generally displayed in a radio group.

Attention needed

By default Preline UI uses Tailwind CSS Forms plugin. Don't forget to install it!

Default

The default way to present a single option from a list.

Theme:

Disabled

Disabled radio.

Theme:

Inline radio group

A group of radio components.

Theme:

Vertical radio group

A vertical group of radio components.

Theme:

List with description

Theme:

Radio within form input

Radio components within form input stacked in a grid format.

Theme:

Radio components within form input vertically grouped.

Theme:

On right

Checkbox placed on the right side.

Theme:

With list group

Make the list item appear with checkbox.

Theme:

With horizontal list group

Make a horizontal list group item appear with checkbox.

Theme:

Validation states

It provides valuable, actionable feedback to your users with HTML5 form validation.

Theme: