{# @description daisyUI's label, in its three documented forms: above a control by for, wrapping a checkbox, radio or toggle around its text, or floating around an unwrapped input, textarea or select. A for id that matches no control names nothing, and only the caller can give a control its accessible name: no c-form.label, aria-label or aria-labelledby leaves it unnamed. class="sr-only" hides it visually while keeping the name. See the fieldset gallery entry for every form in context. #} {# @prop text:text | description:"Label text, shown after the slot; wrapped in a span when floating." #} {# @prop floating:boolean | description:"Render daisyUI's floating label: the slot's control first, then text in a span. Only floats an unwrapped input, textarea or select that carries a placeholder or a value." #} {# @prop class:text | description:"Extra classes added to the label." #} {# @slot Email — Content beside the label text: nothing above a control, the control being wrapped, or the control being floated. #} {# djlint:off #} {% if floating %}{% else %}{% endif %} {# djlint:on #}