Skip to content

Form Legend Reference

Reference for Form Legend Reference in Web Framework References. Key properties: ID, Class, Label Text, Size.

Bootstrap 5 component. Add the component and configure its properties in the Inspector.

Inspector Property Groups

From Group Legend

Property Type Details
IDtextOptional unique identifier for this element.
Sets the element's id attribute. Keep IDs unique per page (useful for anchors, label for targets, and JavaScript hooks). Bootstrap docs: Introduction
Attribute: id
ClasstextAdds raw class names to the element.
Adds text directly to the class attribute. Use this for custom utility classes or project-specific overrides. Separate multiple classes with spaces. Bootstrap docs: Utilities API
Attribute: class
Label TexttextFieldset legend text.
Sets the legend text for a fieldset. Legends provide a label for grouped controls (e.g. a radio group). Bootstrap docs: Forms overview
SizedroplistLegend size variant.
Controls the size of the fieldset legend. Use a size that fits your hierarchy and keeps the form readable. Bootstrap docs: Forms overview
Options: Default, Large, Small

Layout

Property Type Details
SizerangeLegend size variant.
Controls the size of the fieldset legend. Use a size that fits your hierarchy and keeps the form readable. Bootstrap docs: Forms overview
Orderrange 
Offsetrange 

Spacing

Property Type Details
Margin<br>&<br>Paddingspacing 
X GutterrangeHorizontal gutter size.
Sets the horizontal gutter (spacing between columns). Uses gx-* utilities to control the horizontal gutter size. Bootstrap docs: Gutters
Y GutterrangeVertical gutter size.
Sets the vertical gutter (spacing between rows). Uses gy-* utilities to control the vertical gutter size. Bootstrap docs: Gutters

Display

Property Type Details
Hide onbutton_groupOptions: xs, sm, md, lg, xl, xxl
Printbutton_group 
Visually Hiddenboolean 
Focusableboolean