Checkbox
composantA checkbox, drawn by phil-ux.
Aperçu
Code
<twig:Label><twig:Checkbox name="terms" /> I accept</twig:Label>
Code
<twig:Label><twig:Checkbox name="terms" /> I accept</twig:Label>
Installation
php bin/console ux:install checkbox --kit=github.com/parler-haut-interagir-librement/ux-kit
Accessibility
Name it with a Label.
Fichiers à copier
templates/components/Checkbox.html.twig
<input type="checkbox" data-slot="checkbox"{{ attributes }}>