Checkbox
componentA checkbox, drawn by phil-ux.
Preview
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.
Files to copy
templates/components/Checkbox.html.twig
<input type="checkbox" data-slot="checkbox"{{ attributes }}>