Skip to content

FieldLegend

Overview

A fieldset legend styled as either a section heading or a field label, controlled by the variant prop.

Theme entry: FieldLegend

Props

NameTypeRequiredDefaultDescription
themeOverrideString|Object|ArraynullA partial theme object merged with the component's default theme; accepts a class string, class array, or theme object.
classimport('vue').HTMLAttributes['class']undefinedAdditional CSS classes to apply to the root element.
variantstringundefinedControls text size: "legend" renders at base size, "label" renders at sm size.

Slots

default

Slot.

Source

client/lib/shell/field/FieldLegend.vue

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