Skip to content

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

SlotDefault classesDescription
root3 classesThe 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/10

Source: client/lib/theme/vueda-tailwind/shell/FieldLabel.theme.js:18

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2