templUI Pro coming soon  

50% OFF Join Waitlist

Checkbox

Control that allows selecting multiple options from a list.

Source
TailwindCSS

Installation

templui add checkbox

Examples

Checked

With Label

Disabled

Custom Icon

Form

Choose all areas that interest you.

Please select at least one interest.

API Reference

Required parameter
Hover for description

Checkbox

Control that allows selecting multiple options from a list.

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