- 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.
8 months ago1.4k -
Home page 2
Отзывчивый логотип по центру. Интерактивные кнопки призыва к действию.
1 month ago150 -
1 year ago10.6k
-
2 years ago13.3k
-
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. 🚀
2 months ago502 -
Contact Spinner
Contact button spinning
11 months ago4.6k -
Plug and Play Animated Button for Hero Statements / Landing Pages
REMOVE the bg-black from the outside <button/> div, if you are already using a black background. Besides this, the button is plug and play! Know errors: You may need to remove animate-spin for your usecase, depending on framework rendering. For SvelteKit, animate-spin is NOT needed. But the [animation:spin_4s]... is always necessary for a smooth effect. Check out my profile to join my community online or add me on LinkedIn.
4 months ago984 -
Plug and Play Button - Animated gradient background
Know errors: You may need to remove animate-spin for your usecase, depending on framework rendering. For SvelteKit, animate-spin is NOT needed. But the [animation:spin_4s]... is always necessary for a smooth effect. Check out my profile to join my community online or add me on LinkedIn.
4 months ago1k -
8 months ago1.3k
-
Continue with Discord button
Login with the Discord button for social login
1 year ago10.8k -
Gradient Button
instagram: ferdiisahin
10 months ago1.1k -
beautiful buttons set
a beautofull buttons set like primary, outline and text.
4 months ago472
Explore components by Tags
Didn't find component you were looking for?
Search from 2100+ components