Skip to content

Form Label Reference

Reference for Form Label 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 Label

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 TexttextLabel text.
Sets the label text for a form control. Use clear labels for accessibility and to make forms easier to scan. Bootstrap docs: Forms overview
SizedroplistLabel size variant.
Controls the label sizing to match input sizing. Use consistent sizing for labels and controls to avoid misalignment. Bootstrap docs: Sizing
Options: Default, Large, Small
Form LabelbooleanUses Bootstrap form label styling.
Applies Bootstrap's form label styling (e.g. .form-label ). Use consistent label styles across your form for a clean layout. Bootstrap docs: Forms overview

Layout

Property Type Details
SizerangeLabel size variant.
Controls the label sizing to match input sizing. Use consistent sizing for labels and controls to avoid misalignment. Bootstrap docs: Sizing
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