Aller au contenu

Input

composant

A text field; any attribute reaches the element.

Aperçu

Clair

Code
<twig:Input type="email" name="email" />

Sombre

Code
<twig:Input type="email" name="email" />

Installation

php bin/console ux:install input --kit=github.com/parler-haut-interagir-librement/ux-kit

Accessibility

Name it with a Label.

Fichiers à copier

templates/components/Input.html.twig
<input data-slot="{{ attributes.render('data-slot')|default('input') }}"{{ attributes }}>