Example toggle controls
Testing out Tailwind CSS’s new dark mode with some simple reusable components—a toggle and associated label in this case. I was able to create this component, including color and pill transitions, without writing any custom CSS. Neat!
More by Cory Reed View profile
Like