Skip to content

Properties

PropertiesDescription
forId(required) the same unique id like the linked HTML element has.
text(optional) the text of the label. You can use children as well.
srOnly(optional) when true, the label will be invisible and only accessible for screen readers.
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.
disabled(optional) if set to true, the label will behave as not interactive.
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.