Exapnd and collapse button for large content without javascript
Truncate and expand on click large content without using JavaScript.
This tailwind example is contributed by Komal Jain, on 17-Jul-2024. Component is made with Tailwind v3.4. It is responsive.
Related Examples
-
Exapnd and collapse button for large content
Truncate and expand on click large content with javascript. uses line clamp.
3k -
Continue with social login buttons (google, linkedin, twitter, facebook, github, apple)
Login/signup buttons for Google, LinkedIn, Twitter, Facebook, GitHub, and Apple
18.5k -
Hover Button
Hover button then a overlay came from bottom to top
2.7k -
11.7k
-
Color Changing Gradient Button
Color Changing Gradient Button
4.5k -
Modern page
hero page by salvator
1.9k -
Animated Button
on hover show icon
3.3k -
Button with hover effect
Button with light hover effect, responsive and suitable for light/dark mode.
898 -
Animated button with rotating light beam
light beam rotates around the border
4.1k -
Tailwind CSS Button (Wavy Button)
The button uses Tailwind classes for size, background, border, border-radius, shadow, cursor, overflow, and transitions. The wave overlay is absolutely positioned at the bottom of the button, initially off-screen (top-full) and moves to the middle (top-1/2) on hover via the custom .wave class and keyframes. The font-poppins class isn’t a default Tailwind class. You should define it in your Tailwind configuration or replace it with font-sans if you haven't extended fonts.
1.4k
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.