Card

A bordered container for grouping related content into distinct sections with optional header, body, and footer areas.

Basic Card

Basic Card
Project Update
Latest status on the design system rollout.

All core components have been implemented and tested. The team is now focused on documentation and integration guides for consuming applications.

<Card>
  <CardHeader>
    <CardTitle>Project Update</CardTitle>
    <CardDescription>Latest status on the design system rollout.</CardDescription>
  </CardHeader>
  <CardContent>
    <p>All core components have been implemented and tested. The team is now focused on documentation and integration guides for consuming applications.</p>
  </CardContent>
  <CardFooter>
    <Button>View Details</Button>
  </CardFooter>
</Card>

Interactive Card

Interactive Card
Analytics
View traffic and engagement.

12,340

visits this month

Revenue
Monthly revenue summary.

$8,420

up 12% from last month

<Card interactive>
  <CardHeader>
    <CardTitle>Clickable Card</CardTitle>
    <CardDescription>This card has hover and active states.</CardDescription>
  </CardHeader>
  <CardContent>
    <p>Use the interactive prop to add cursor, border, and shadow transitions on hover, plus a subtle press effect on click.</p>
  </CardContent>
</Card>

Card with Form

Card with Form
Create Account
Enter your details to get started.
<Card>
  <CardHeader>
    <CardTitle>Create Account</CardTitle>
    <CardDescription>Enter your details to get started.</CardDescription>
  </CardHeader>
  <CardContent>
    <Stack gap="md">
      <Field>
        <FieldLabel>Name</FieldLabel>
        <Input placeholder="Your full name" />
      </Field>
      <Field>
        <FieldLabel>Email</FieldLabel>
        <Input type="email" placeholder="you@example.com" />
      </Field>
    </Stack>
  </CardContent>
  <CardFooter>
    <Button className="w-full">Sign Up</Button>
  </CardFooter>
</Card>

API Reference

Card

PropTypeDefaultDescription
interactivebooleanfalseAdds hover border highlight, shadow lift, and active press effect.
classNamestringAdditional CSS classes to apply to the card.
childrenReact.ReactNodeCard content, typically CardHeader, CardContent, and CardFooter.

CardHeader

PropTypeDefaultDescription
classNamestringAdditional CSS classes for the header section.
childrenReact.ReactNodeHeader content, typically CardTitle and CardDescription.

CardTitle

PropTypeDefaultDescription
classNamestringAdditional CSS classes for the title.
childrenReact.ReactNodeTitle text content.

CardDescription

PropTypeDefaultDescription
classNamestringAdditional CSS classes for the description.
childrenReact.ReactNodeDescription text content.

CardContent

PropTypeDefaultDescription
classNamestringAdditional CSS classes for the content area.
childrenReact.ReactNodeMain body content of the card.

CardFooter

PropTypeDefaultDescription
classNamestringAdditional CSS classes for the footer.
childrenReact.ReactNodeFooter content, typically action buttons.