Cards with animated gradient borders, numbered badges, and staggered scroll reveal animations.
Optimized for performance with smooth 60fps animations and minimal bundle size.
Every component accepts custom variants, sizes, and styling through Tailwind classes.
Complete type safety with detailed prop interfaces and full IntelliSense support.
import { FeatureCard } from "@/components/ui/feature-card";
export default function Example() {
return (
<div className="grid gap-6 md:grid-cols-3">
<FeatureCard
index={0}
title="Lightning Fast"
description="Optimized for performance."
variant="default"
/>
<FeatureCard
index={1}
title="Customizable"
description="Accepts custom styling."
variant="gradient"
/>
<FeatureCard
index={2}
title="TypeScript"
description="Complete type safety."
variant="bordered"
/>
</div>
);
}| Name | Type | Required | Description |
|---|---|---|---|
| title | string | Yes | Card title |
| description | string | Yes | Card description |
| variant | "default" | "gradient" | "bordered" | No | Visual style variant |
| index | number | No | For numbered badge and stagger animation |
Glass effect pricing cards with gradient buttons and featured badges perfect for pricing sections.
For personal projects
For professionals
For teams
import { PricingCard } from "@/components/ui/pricing-card";
export default function Example() {
return (
<div className="grid gap-8 md:grid-cols-3">
<PricingCard
name="Pro"
price="$29"
description="For professionals"
features={[
"All components",
"Priority support",
"Lifetime updates"
]}
featured
ctaText="Get Started"
/>
</div>
);
}| Name | Type | Required | Description |
|---|---|---|---|
| name | string | Yes | Pricing tier name |
| price | string | Yes | Price display |
| description | string | Yes | Tier description |
| features | string[] | Yes | List of features |
| ctaText | string | Yes | Button text |
| featured | boolean | No | Highlights as popular |