- Home
-
Exapnd and collapse button for large content
Exapnd and collapse button for large content
Truncate and expand on click large content with javascript.
uses line clamp.
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 without javascript
Truncate and expand on click large content without using JavaScript.
1 year ago1.8k -
Dark mode toggle button
Switch to dark mode without any hassle with this simple JavaScript hack. Sun night button
2 years ago19.8k -
4 months ago1.2k
-
11 months ago1.5k
-
Applications Showcase
This is a stylish and interactive application showcase component designed for web use. It features the following elements: Background Styling: The main container has a rounded-rectangle shape (rounded-3xl) with a subtle white base overlaying a high-resolution background image, styled with background-size: 600px for an artistic touch. The image itself dynamically serves as a backdrop, giving the component a layered appearance. Main Icon: A small circular icon, located at the top-right corner, appears with smooth hover effects: Enlarges to double its size (scale-[2]). Rotates (rotate-[410deg]). Moves diagonally upwards-right (translate-x-3, -translate-y-3). These transitions occur over a duration of 1 second (transition duration-1000). Overlay Gradient: A transparent gradient overlay (bg-gradient-to-l) adds a polished depth effect, transitioning from black (from-black/80) to lighter shades. App Icon and Info: Icon: The app icon is a smaller, bordered square image (rounded-2xl) with hover shrink animations (group-hover:scale-95). Text: A bold application title (text-md font-semibold) with hover-animated underline effects that gradually expand from left to right. A short app description styled as secondary text. Call-to-Action Button: Below the card is a subtle, rounded button (rounded-full) encouraging interaction. It features: A hover effect with color inversion (gray to black). A lift effect (hover:-translate-y-1) when hovered. This component is perfect for modern app showcases, offering a dynamic, user-friendly visual experience. It ensures a professional look while engaging users through smooth animations and clear calls to action.
8 months ago1.9k -
2 years ago15.4k
-
2 years ago15.6k
-
Glowing gradient button
Button on black background
1 year ago11.8k -
Strong password generator
With following options Password length: Include Uppercase Letters: Include Numbers: Include Symbols:
2 years ago9.1k -
2 years ago10.7k
-
2 years ago11.6k
-
2 years ago14.4k
Explore components by Tags
Didn't find component you were looking for?
Search from 2400+ components