- Home
-
Button group
Button group
Add active class to clicked button using JavaScript
This tailwind example is contributed by TailwindFlex, on 24-Sep-2022. Component is made with Tailwind CSS v3. It is responsive.
Author TailwindFlex
Related Examples
-
3 years ago16k
-
Dark mode toggle button
Switch to dark mode without any hassle with this simple JavaScript hack. Sun night button
2 years ago21.4k -
2 years ago16.5k
-
Hamburger menu button with open/close animation
Open and close animation onclick requires alpineJs
3 years ago20k -
Toggle Switch
Toggle switch for dark mode
3 years ago17.1k -
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.
1 year ago1.8k -
2 years ago10k
-
Exapnd and collapse button for large content without javascript
Truncate and expand on click large content without using JavaScript.
1 year ago2.2k -
Background gradient changing button
Automatic and continuously gradient-changing button. Cyclic color changing button.
2 years ago11.2k -
Github stars button
Display the GitHub stars received by your project
2 years ago8.9k -
1 year ago1.7k
-
1 year ago2.8k
Explore components by Tags
Didn't find component you were looking for?
Search from 3000+ components