Composable surface with 5 variants, 4 motion animations, and a full set of header / content / footer parts.
@akex/cardnpm install @akex/card
import {
Card,
CardHeader,
CardTitle,
CardDescription,
CardContent,
CardFooter,
} from "@akex/card";
<Card variant="gradient" animation="lift">
<CardHeader>
<CardTitle>Pro plan</CardTitle>
<CardDescription>Everything you need to ship.</CardDescription>
</CardHeader>
<CardContent>Unlimited projects and priority support.</CardContent>
<CardFooter>$29 / month</CardFooter>
</Card>variant="default"
variant="elevated"
variant="outline"
variant="ghost"
variant="gradient"
animation="lift"animation="tilt"animation="glow"animation="pop"| Prop | Type | Default | Description |
|---|---|---|---|
| variant | string | "default" | "default" | "elevated" | "outline" | "ghost" | "gradient" |
| padding | string | "default" | "none" | "sm" | "default" | "lg" |
| animation | CardAnimation | — | "lift" | "tilt" | "glow" | "pop" |
| className | string | — | Extra Tailwind classes |
| ...props | HTMLAttributes | — | All native div element attributes |