LaviKatiyar

Card

Cards 35

About

Challenge Card A visually engaging card component designed to present challenges or calls-to-action. It features a prominent title, description, and an animated button to encourage user interaction. The entire card lifts and scales on hover for a modern, tactile feel.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Card to your project and fits it to your theme.

Code

How Card is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { ChallengeCard } from "@/components/ui/card-9"; // Adjust the import path

export default function ChallengeCardDemo() {
  return (
    <div className="flex min-h-[400px] w-full items-center justify-center bg-background p-4">
      <ChallengeCard
        title="End March 160 KM Challenge"
        description="Complete 160 KM until end of March and you will get a surprise gift."
        buttonText="Join Challenge"
        // Example of custom background color
        // backgroundColor="bg-blue-500"
      />
    </div>
  );
}

Dependencies

More by LaviKatiyar

View all
  • Hero Section

    Hero Section

    856
  • Cards

    Cards

    721
  • Service Card

    Service Card

    658
  • Card

    Card

    568
  • Alert Toast

    Alert Toast

    505
  • Bento Grid

    Bento Grid

    442
  • Freelancer Profile Card

    Freelancer Profile Card

    387
  • Referral Card

    Referral Card

    317

More in Cards

View all
  • Course Design Cards

    Course Design Cards

    1.4K
  • Statistics Card 2

    Statistics Card 2

    322
  • Card

    Card

    19
  • Stats cards with links

    Stats cards with links

    46
  • Admin Dashboard Cards

    Admin Dashboard Cards

    46
  • Model Grid Cards

    Model Grid Cards

    6
  • Card

    Card

    2
  • Interactive Tech Stack Bento Grid with Hover Effects

    Interactive Tech Stack Bento Grid with Hover Effects

    781