Card
Glow Lift Card
A stylish card with glowing and lifting effects on hover.
Overview
The GlowLiftCard component is a visually appealing UI card that features a glowing and lifting effect when hovered. It’s designed to draw attention and add interactivity to your interface.
Key features include:
- Title and Description: Customizable title and description.
- Hover Effects: Smooth hover effects including glow and lift animations.
- Customizable Styles: Easy to apply additional styles using the
classNameprop.
Glow Lift
Hover to see glow and lift effect.
CLI Installation
Ensure your project is using ShadCN and the custom UI system. Then run:
Manual Installation
To manually set up the GlowLiftCard component in your project, follow these steps:
- Go to your
srcdirectory. - Create a folder structure:
components/ui/glowLiftCard. - Inside the
glowLiftCardfolder, create a file namedglowLiftCard.tsx. - Paste the following code into
glowLiftCard.tsx.
Usage
Import and use the GlowLiftCard component like this:
Props
| Prop | Type | Description | Default |
|---|---|---|---|
title | string | The title displayed on the card | "Glow Lift" |
description | string | The description text under the title | "" |
className | string | Additional Tailwind classes for outer container | "" |