Fulldev UI

Displays a card with header, content, and footer.

Login to your account
Enter your email below to login to your account

Installation

npx shadcn@latest add @fulldev/card

Usage

import {
  Card,
  CardAction,
  CardContent,
  CardDescription,
  CardFooter,
  CardHeader,
  CardTitle,
} from "@/components/ui/card"
<Card>
  <CardHeader>
    <CardTitle>Card Title</CardTitle>
    <CardDescription>Card Description</CardDescription>
    <CardAction>Card Action</CardAction>
  </CardHeader>
  <CardContent>
    <p>Card Content</p>
  </CardContent>
  <CardFooter>
    <p>Card Footer</p>
  </CardFooter>
</Card>

Polymorphic

Card and CardTitle are polymorphic via as. Both render a div by default. A dl card holds dt and dd pairs, optionally wrapped in a div. Keep other links and buttons out of a link card.

<Card as="article">...</Card>
<Card as="section" aria-labelledby="plan-title">
  ...
</Card>
<Card as="a" href="/pricing">
  ...
</Card>
<Card as="li">...</Card>
<Card as="dl">
  <div>
    <dt>Plan</dt>
    <dd>Pro</dd>
  </div>
</Card>

<CardTitle as="h3">Card Title</CardTitle>

Composition

Card
├── CardHeader
│   ├── CardTitle
│   ├── CardDescription
│   └── CardAction
├── CardContent
└── CardFooter

Size

Use size="sm" for a small card with tighter spacing.

Scheduled reports
Weekly snapshots. No more manual exports.
  • Choose a schedule (daily, or weekly).
  • Send to channels or specific teammates.
  • Include charts, tables, and key metrics.

Spacing

Set the --card-spacing CSS variable to control the gap between sections and the inset of card parts.

Login to your account
Enter your email below to login to your account

Use -mx-(--card-spacing) to make content go edge to edge, and -mb-(--card-spacing) on CardContent when that content sits above a footer.

Terms of Service
Review the terms before accepting the agreement.

These terms govern your use of the workspace, including access to shared documents, project files, and collaboration tools.

You are responsible for the content you upload and for ensuring that your team has the appropriate permissions to view or edit it.

We may update features or limits as the service evolves. When those changes materially affect your workflow, we will notify your workspace administrators.

By continuing, you agree to keep your account credentials secure and to follow your organization's acceptable use policies.

Image

Add an image before the card header to create a card with an image.

Event cover
Featured
Design systems meetup
A practical talk on component APIs, accessibility, and shipping faster.

RTL

تسجيل الدخول إلى حسابك
أدخل بريدك الإلكتروني أدناه لتسجيل الدخول إلى حسابك

API Reference

Source: src/components/ui/card

Card

PropTypeDefault
size"default" | "sm""default"
asHTML tag"div"

CardTitle

PropTypeDefault
asHTML tag"div"

CardHeader, CardDescription, CardAction, CardContent and CardFooter render a div and take its attributes.