Skip to main content
← Back to Components

Cards

Feature and pricing card components with animations and glass effects

Feature Card

Cards with animated gradient borders, numbered badges, and staggered scroll reveal animations.

Preview

01

Lightning Fast

Optimized for performance with smooth 60fps animations and minimal bundle size.

02

Fully Customizable

Every component accepts custom variants, sizes, and styling through Tailwind classes.

03

TypeScript First

Complete type safety with detailed prop interfaces and full IntelliSense support.

Installation

app/page.tsxtsx
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>
  );
}

Props

NameTypeRequiredDescription
titlestringYesCard title
descriptionstringYesCard description
variant"default" | "gradient" | "bordered"NoVisual style variant
indexnumberNoFor numbered badge and stagger animation

Pricing Card

Glass effect pricing cards with gradient buttons and featured badges perfect for pricing sections.

Preview

Basic

For personal projects

$9/month
  • 5 components
  • Basic animations
  • Light & dark themes
  • Regular updates
Popular

Pro

For professionals

$29/month
  • All components
  • Advanced animations
  • All color schemes
  • Priority support
  • Lifetime updates

Team

For teams

$99/month
  • Everything in Pro
  • Team license
  • Custom components
  • Dedicated support
  • Early access

Installation

app/page.tsxtsx
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>
  );
}

Props

NameTypeRequiredDescription
namestringYesPricing tier name
pricestringYesPrice display
descriptionstringYesTier description
featuresstring[]YesList of features
ctaTextstringYesButton text
featuredbooleanNoHighlights as popular