FieldLegend
Overview
A fieldset legend styled as either a section heading or a field label, controlled by the variant prop.
Theme entry: FieldLegend
Props
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| themeOverride | String|Object|Array | null | A partial theme object merged with the component's default theme; accepts a class string, class array, or theme object. | |
| class | import('vue').HTMLAttributes['class'] | undefined | Additional CSS classes to apply to the root element. | |
| variant | string | undefined | Controls text size: "legend" renders at base size, "label" renders at sm size. |
Slots
default
Slot.
Source
client/lib/shell/field/FieldLegend.vue