Provides a label UI component for form components.
Summary
Functions
Renders a label.
Functions
Renders a label.
Markup is <.input>'s label, byte for byte, so a <.select> or
<.textarea> label is indistinguishable from an <.input> one beside it.
Attributes
for(:string) - Defaults tonil.class(:string) - Defaults tonil.required(:boolean) - Renders the red required marker as a sibling span, exactly as<.input>does. Defaults tofalse.
Slots
inner_block(required)