Form text
Settings
| Setting | ID | Type | Default | Description |
|---|---|---|---|---|
| Block class | class | text | mb-2 | |
| Applies to | where | select | contact | |
| Label | title | text | Label | |
| Placeholder | placeholder | text | Shown while the field is empty. Ignored by the Floating label layout, which uses the label instead. | |
| Default value | value | text | ||
| Required | required | checkbox | false | |
| Layout | layout | select | block | |
| Size | size | select | ||
| Label width | label_width | range | 25 | Desktop width of the label in the Label left layout. The control fills the rest. |
| Label color | label_color | select | text-gray-700 | |
| Label background | label_bg | color_background | #f9fafb | Used by the Input group layout. Accepts a solid color or a gradient. |
| Enable bold | label_bold | checkbox | false |
Option values
- Applies to (
where): Contact (contact), Product (product) - Layout (
layout): Label up (block), Label left (inline), Input group (group), Floating label (floating) - Size (
size): Small (sm), Default (``), Large (lg) - Label color (
label_color): Default (text-gray-700), Dark (text-gray-900), Muted (text-gray-500), Red (text-red-600), Blue (text-blue-600), Green (text-green-600), Amber (text-amber-600), White (text-white)
Presets
- Form text