FieldLabel
Source: client/lib/theme/vueda-tailwind/shell/index.js
The label text or label-card wrapper for a field. It handles disabled opacity, nested control-card framing, and checked-state tint for label-wrapped choices.
Vue component: FieldLabel
| Slot | Default classes | Description |
|---|---|---|
| root | 3 classes | The label text or label-card wrapper for a field. It handles disabled opacity, nested control-card framing, and checked-state tint for label-wrapped choices. |
root
The label text or label-card wrapper for a field. It handles disabled opacity, nested control-card framing, and checked-state tint for label-wrapped choices.
Default classes:
text
group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50
has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border-hairline [&>*]:data-[slot=field]:p-4
has-data-[state=checked]:bg-primary/5 has-data-[state=checked]:border-primary dark:has-data-[state=checked]:bg-primary/10Source: client/lib/theme/vueda-tailwind/shell/FieldLabel.theme.js:18