Skip to content

Properties

PropertyTypeDescription
labelstring(optional) Field label to show above / before the input feature.
labelDescriptionstring(optional) A more discreet text displayed beside the label (i.e for "(optional)").
labelSrOnlyboolean(optional) Use true to make the label only readable by screen readers.
widthstring
false
(optional) Will set the width for the whole block. Use small, medium, large for predefined standard widths. You can also set a custom width {number}rem or use stretch or false.
contentWidthstring
false
(optional) Will set the width for its contents. Use small, medium, large for predefined standard widths. You can also set a custom width {number}rem or use stretch or false.
disabledboolean(optional) Set true to make the inner FormLabel behave as disabled.
helpobject(optional) Provide help content for the field using title and content as a string or React.Node. Additionally, you can set open to true to display the inline help, set the breakout property to false to disable the breakout of the inline help content, or use renderAs set to dialog to render the content in a Dialog (recommended for larger amounts of content).
alignstring
false
(optional) center or bottom for aligning the contents vertically. Defaults to bottom.
Spacestring
object
(optional) Spacing properties like top or bottom are supported.