Label
composantThe name of a form control.
Aperçu
Code
<twig:Label for="email">Email</twig:Label>
Code
<twig:Label for="email">Email</twig:Label>
Installation
php bin/console ux:install label --kit=github.com/parler-haut-interagir-librement/ux-kit
Fichiers à copier
templates/components/Label.html.twig
<label data-slot="{{ attributes.render('data-slot')|default('label') }}"{{ attributes }}>
{##- The label text for a form control. -#}
{%- block content %}{% endblock -%}
</label>