Example of how you can use Tailwind.css to create an accessible switch button in Svelte for my article Accessible switch toggle button with svelte.js and tailwind.css.
$ yarn start
For more interesting stuff like this follow me on Twitter or check out my blog https://codechips.me