Default
Code
<twig:ThemeToggle />
A static copy of the demo at release 0.3.0. Live Components, Turbo Streams and form submits need Symfony: run the full demo.
A button switching between the light and dark themes, remembered in localStorage and following the system preference until the user chooses.
php bin/console ux:install theme-toggle \
--kit=https://github.com/xormania/uxor:0.3.0
assets/ → assets/templates/ → templates/ symfony/ux-iconstwig/html-extra:^3.24.0symfony/ux-twig-component:^3.5tales-from-a-dev/twig-tailwind-extra:^1.3.0<twig:ThemeToggle />