- Home
-
Dark mode toggle button
Dark mode toggle button
Switch to dark mode without any hassle with this simple JavaScript hack.
Sun night button
This tailwind example is contributed by Nishant Trivedi, on 22-Jul-2023. Component is made with Tailwind CSS v3. It is responsive. It supports dark mode.

Author Nishant Trivedi
Related Examples
-
Toggle Switch
Toggle switch for dark mode
2 years ago14.6k -
2 years ago13.9k
-
2 years ago15.4k
-
2 years ago15.1k
-
Glowing gradient button
Button on black background
1 year ago10.7k -
2 years ago13.7k
-
Glowing gradient button
Button on black background
2 years ago32.7k -
2 years ago15.8k
-
2 years ago12.5k
-
Button group
Add active class to clicked button using JavaScript
2 years ago9.9k -
2 years ago11k
-
1 year ago14k
Explore components by Tags
Didn't find component you were looking for?
Search from 2000+ components