- Home
-
Toggle Switch
Toggle Switch
Toggle switch for dark mode
This tailwind example is contributed by Charlotte Dupont, on 24-Jan-2023. Component is made with Tailwind CSS v3. It is responsive. It supports dark mode.

Author Charlotte Dupont
Related Examples
-
Dark mode toggle button
Switch to dark mode without any hassle with this simple JavaScript hack. Sun night button
2 years ago20.4k -
2 years ago15.5k
-
2 years ago12.5k
-
Toggle switch
toggle switch with smooth animation
1 year ago3.4k -
2 years ago15.8k
-
Button group
Add active class to clicked button using JavaScript
3 years ago10.4k -
Responsive Pricing Table with Toggle Switch — Built with Tailwind Flex
A clean, responsive Pricing Table UI built entirely with Tailwind CSS and Flexbox. Includes a smooth monthly/yearly toggle switch, fully mobile-friendly layout, and modern design — perfect for SaaS, startups, freelancers, or any web project. 📱 100% Responsive 🎯 Easily customizable 💡 Ideal for client or personal projects
5 months ago778 -
Elegant Switches
Useful Tailwind classes for creating several types of basic switches.
5 months ago395 -
Material 3 Switches [Light]
Switches that conform to Google's Material 3 design guidelines
4 months ago500 -
9 months ago981
-
Interactive Toggle Switch with Smooth Animation
A stylish toggle switch component built with Tailwind CSS and enhanced with minimal JavaScript. This toggle switch features smooth color transitions, dynamic text ("ON/OFF"), and a moving indicator ball, providing a visually appealing and functional design. Ideal for modern web interfaces where toggling functionality is required. Easily customizable for various use cases.
8 months ago1.5k -
9 months ago1.4k
Explore components by Tags
Didn't find component you were looking for?
Search from 2400+ components