templUI Pro coming soon  

50% OFF Join Waitlist

Radio Card

Selectable card component that uses radio buttons for single-option selection.

Source
TailwindCSS

Installation

templui add radiocard

API Reference

Required parameter
Hover for description

RadioCard

Main radio card component that combines radio button with rich content.

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

Description

Description section for additional text content in the radio card.

Name Type Default
ID
string
-
Class
string
-
Attributes
templ.Attributes
-