- Home
-
Exapnd and collapse button for large content without javascript
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 CSS v3. It is responsive.
Author Komal Jain
Related Examples
-
Exapnd and collapse button for large content
Truncate and expand on click large content with javascript. uses line clamp.
1 year ago2.5k -
2 years ago10.8k
-
Modern page
hero page by salvator
7 months ago1k -
3 years ago10.1k
-
shadcn Button
button
1 year ago2.3k -
2 years ago15.1k
-
11 months ago819
-
Call to Action (for app stores)
Download app section with Playstore and Appstore button
3 years ago11.5k -
pasta
by salvator
6 months ago734 -
Continue with Discord button
Login with the Discord button for social login
1 year ago3k -
Bubblegum Button
This interactive button component is designed with a sleek gradient background and smooth hover effects, making it an eye-catching call-to-action element for modern web interfaces. Styling and Features: ✅ Gradient Background & Rounded Shape • The button container has a subtle gradient overlay (bg-gradient-to-tr) that smoothly transitions from soft pink (from-pink-300) to light blue (to-blue-300), giving it a vibrant and modern look. • Wrapped in a rounded-full container for a pill-shaped aesthetic. ✅ Floating & Shadow Effects • The shadow-lg property creates a soft floating effect, enhancing depth and visibility. • Will-change-transform optimizes animations for a seamless hover experience. ✅ Interactive Hover Animations • On hover, the inner button scales up (hover:scale-105) and lifts slightly (hover:-translate-y-2), simulating a press-and-release motion. • The transition is smooth, with a 500ms animation (transition duration-500). ✅ Content & Icon • The “Learn more” label is paired with a right-arrow icon (svg) for clear visual guidance. • The icon and text are flex-aligned (items-center flex), ensuring a balanced and responsive layout. This button is ideal for call-to-action elements, product highlights, or download prompts, offering a modern, sleek, and engaging user experience. 🚀
11 months ago1.4k -
1 month ago51
Explore components by Tags
Didn't find component you were looking for?
Search from 3000+ components