Checkbox Card

Selectable card component that combines a checkbox with rich content for option selection.

Source Tailwind

Installation

templui add checkboxcard

API Reference

Required parameter
Hover for description

CheckboxCard

Main checkbox card component that combines a checkbox with rich content.

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

Description

Description section for additional text content in the checkbox card.

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