Docs
カード

カード

ヘッダー、コンテンツ、フッターのあるカードを表示します。

Create project

Deploy your new project in one-click.

インストール

npx shadcn-ui@latest add card

使用法

import {
  Card,
  CardContent,
  CardDescription,
  CardFooter,
  CardHeader,
  CardTitle,
} from "@/components/ui/card"
<Card>
  <CardHeader>
    <CardTitle>カードタイトル</CardTitle>
    <CardDescription>カードの説明</CardDescription>
  </CardHeader>
  <CardContent>
    <p>カードコンテンツ</p>
  </CardContent>
  <CardFooter>
    <p>カードフッター</p>
  </CardFooter>
</Card>

Notifications

You have 3 unread messages.

Push Notifications

Send notifications to device.

Your call has been confirmed.

1 hour ago

You have a new message!

1 hour ago

Your subscription is expiring soon!

2 hours ago