Aller au contenu

Label

composant

The name of a form control.

Aperçu

Clair

Code
<twig:Label for="email">Email</twig:Label>

Sombre

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>