Basics
Card
The base surface: flat in dark mode, white with a soft shadow in light mode.
src/components/ui/card.tsxNo ui-sdk
Header, content, and footer
Portal pasien
Klinik Sehati, tahap desain
Enam layar baru siap ditinjau: jadwal, riwayat kunjungan, dan pembayaran.
Menunggu review12 komentar
Import
tsx
import { Card, CardContent, CardFooter, CardHeader } from "@/components/ui/card";Guidelines
- The card title defaults to
h3; change it withheadingto keep the page's heading order right. - Do not nest cards in cards. Use
bg-insetfor sections inside one.