Toggle button
This tailwind example is contributed by Matthew Chen, on 20-Jul-2023. Component is made with Tailwind v3.4. It is responsive.
Related Examples
-
Radio Buttons
Users can click anywhere on the input field to select the radio option
17.1k -
Toggle Switch
Toggle switch for dark mode
18.2k -
14.7k
-
Checkbox button
press the button to check
5.4k -
Elegant Switches
Useful Tailwind classes for creating several types of basic switches.
1.1k -
14.6k
-
Login
Login form, responsive, no dark-mode for white backgrounds, elegant for any platform
5.3k -
Material 3 Checkboxes [Light]
Checkboxes that conform to Google's Material 3 design guidelines
1.1k -
Invalid input detected message
incorrect input notification
12.9k -
Textarea input
Fancy Textarea
12k
Browse by topic
Explore components by Tags
Jump straight to the UI pattern you need.
Can't find it?
Didn't find the component you were looking for?
Search across 3,000+ community-built components and grab the code in seconds.