- 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
-
2 years ago15.4k
-
Dark mode toggle button
Switch to dark mode without any hassle with this simple JavaScript hack. Sun night button
2 years ago20.2k -
2 years ago15.7k
-
Hamburger menu button with open/close animation
Open and close animation onclick requires alpineJs
3 years ago19.2k -
Toggle Switch
Toggle switch for dark mode
2 years ago16.4k -
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.
7 months ago1.5k -
Tab Menu
Tab menu
1 year ago6k -
8 months ago672
-
Tilted button on hover.
A simple button with a gradient and tilt on hover. Dark mode supported with same color.
7 months ago862 -
chair
by salvator
4 months ago450 -
1 year ago2.5k
-
Code Editor UI
Simple code editor prototype made with HTML and TailwindCSS. A lightweight template to explore and customize.
3 weeks ago96
Explore components by Tags
Didn't find component you were looking for?
Search from 2400+ components