Preet Suthar

Card

Cards 17

About

A flexible container component for displaying content in a card layout with header, content, and footer sections.

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 { 
  Card,
  CardContent,
  CardDescription,
  CardFooter,
  CardHeader,
  CardTitle
} from "@/components/ui/card";

export default function DemoOne() {
  return (
    <>
      <Card className="w-full max-w-sm space-y-6">
        <CardHeader>
          <CardTitle>Welcome to HextaUI</CardTitle>
          <CardDescription>
            Beautiful components for modern web applications with elegant design
            and smooth interactions.
          </CardDescription>
        </CardHeader>
        <CardContent>
          <p className="text-sm text-muted-foreground">
            Experience the perfect blend of aesthetics and functionality with our
            comprehensive component library.
          </p>
        </CardContent>
        <CardFooter>
         <a href="#" className="underline font-medium">Check out</a>
        </CardFooter>
      </Card>
    </>
  );
}

Dependencies

More by Preet Suthar

View all
  • Modern & Stunning sign in

    Modern & Stunning sign in

    1.5K
  • Shining Text

    Shining Text

    1.5K
  • Magic Text

    Magic Text

    846
  • Hero 2

    Hero 2

    818
  • Toolbar

    Toolbar

    815
  • Typewriter Text

    Typewriter Text

    768
  • AI Chat Input

    AI Chat Input

    730
  • Full Screen Signup

    Full Screen Signup

    723

More in Cards

View all
  • Stats cards with links

    Stats cards with links

    120
  • Course Design Cards

    Course Design Cards

    1.1K
  • Statistics Card 2

    Statistics Card 2

    258
  • Card

    Card

    55
  • Card Studio

    Card Studio

    9
  • Statistics Card 7

    Statistics Card 7

    288
  • The Item one

    The Item one

    3
  • Weather Card

    Weather Card

    52