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 | Object | null | A partial ThemeObject keyed by component name, merged over this component's theme and provided to descendants. | |
| 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