Radio

Control for selecting a single option from a list of choices.

Source Tailwind

Installation

templui add radio

Examples

Checked

With Label

Disabled

Form

You can change your preferences at any time.

We will send you an email when new products are available.

API Reference

Required parameter
Hover for description

Radio

Radio button input for selecting a single option from multiple choices.

Name Type Default
ID
string
-
Class
string
-
Attributes
templ.Attributes
-
Name
string
-
Value
string
-
Disabled
bool
false
Required
bool
false
Checked
bool
false