Skip to content

Properties

PropertiesDescription
forId(required) the id of the input.
text(optional) the text of the label.
srOnly(optional) the id of the input.
vertical(optional) if set to true, will do the same as label_direction when set to vertical.
size(optional) define one of the following heading size: medium or large.
skeleton(optional) if set to true, an overlaying skeleton with animation will be shown.
element(optional) defines the HTML element used. Defaults to label.
innerRef(optional) attach a React Ref to the inner label element.
Space(optional) spacing properties like top or bottom are supported.