Aller au contenu

Checkbox

composant

A checkbox, drawn by phil-ux.

Aperçu

Clair

Code
<twig:Label><twig:Checkbox name="terms" /> I accept</twig:Label>

Sombre

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 }}>