Form
A collection of form components and helper utilities for building accessible forms.
Source Tailwind CSS
Enter your email address for notifications.
Please enter a valid email address
Installation
templui add formUsage
Form elements are composed using a set of helper components that enhance the following form controls:
API Reference
Required parameter
Hover for description
Item
Container for form fields with vertical spacing layout.
| Name | Type | Default |
|---|---|---|
| | - |
| | - |
| | - |
ItemFlex
Container for form fields with horizontal flex layout (for inline forms).
| Name | Type | Default |
|---|---|---|
| | - |
| | - |
| | - |
Label
Label element for form controls with proper accessibility association.
| Name | Type | Default |
|---|---|---|
| | - |
| | - |
| | - |
| | - |
| | - |
Description
Descriptive text to provide additional context for form fields.
| Name | Type | Default |
|---|---|---|
| | - |
| | - |
| | - |
Message
Message text for displaying validation errors or informational messages.
| Name | Type | Default |
|---|---|---|
| | - |
| | - |
| | - |
| | - |