Card
CracklingCard
Gradient animated card for your awesome ui design
Overview
The Crackling Card features a smooth gradient transition with vibrant colors, adding a dynamic and visually striking element to your interface.
Key features include:
- Title and Description: Customizable title and description.
- Customizable Styles: Easy to apply additional styles using the
classNameprop.
Cosmic Card
With a glowy magical border!
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/cracklingcard. - Inside the
cracklingCardfolder, create a file namedcracklingcard.tsx. - Paste the following code into
cracklingcard.tsx.
Usage
Import and use the GlowLiftCard component like this:
Props
| Prop | Type | Description | Default | props |
|---|---|---|---|---|
size | string | The size of the card | "lg" | sm md lg |
variant | string | The color of the card | "default" | default dark |
title | string | The title displayed on the card | "Cosmic Card" | "" |
description | string | The description text under the title | "With a glowy magical border!" | "" |
className | string | Additional Tailwind classes for outer container | "" | "" |