Pilipinas Interface

Foundation

  • Overview
  • Get Started
  • Colors
  • Typography
  • Icons
  • Layout & Spacing
  • States & Feedback
  • Motion & Transitions
  • Expressions

Components

  • Overview
  • Accordion
  • Alert
  • Avatar
  • Badge
  • Banner
  • Breadcrumb
  • Button
  • Card
  • Checkbox
  • Code Block
  • Combobox
  • Command Menu
  • Dialog
  • Popover
  • Progress
  • Radio Group
  • Scroll Area
  • Select
  • Skeleton
  • Switch
  • Table
  • Tabs
  • Text Field
  • Tooltip

Resources

  • Registry

Components

Card

A surface, not a frame. Header, title, description, optional media and actions separate with rhythm rather than nested borders. No state of its own.

Preview
PSA · 2026First-year scholarsFirst-year scholars

214 received · 96 forwarded to the district office.

For review
Approved
38
On hold
12
Updated 2 hours ago
LGU · NCRBarangay caravanBarangay caravan

4 of 17 cities done. Weekends of the 12th and 19th.

On track

Bring one government-issued ID and the project brief. Walk-ins are accepted after 9am.

Next: Caloocan
<Card>
  <CardHeader>
    <CardTitle>Application</CardTitle>
    <CardDescription>Reference 2026-0271-8891</CardDescription>
  </CardHeader>
  <CardContent>For review</CardContent>
</Card>

Usage

One record, tile or summary with a clear next step.

Do and don't

  • Do. Use CardGroup for collections and make the card actionable only when needed.
  • Don't. Nest cards or drop a full ledger inside one.

Composition

CardHeader, CardTitle, CardDescription, CardContent, CardFooter, CardAction, CardEyebrow, CardMedia, CardImage and CardButton fill the slots. CardGroup arranges several cards into a grid with shared borders.

Props

  • Card: href, onClick, external, label, selected, disabled, dismissible, dismissOnHover, onDismiss.
  • CardGroup: orientation, columns, border, separated, fluidHover.
  • size="default" | "compact" on either component pins the density step.

Behavior and states

A standalone card is its own surface, one step above the page with a hairline border. Inside CardGroupit follows the group's border and divider rules instead. A card stays inert until it gets href or onClick. selected and disabled describe the record, not hover. Use one card per record; a collection belongs in CardGroup.

Related

Composes with Badge for status and Table for dense lists. Surface and border values come from Colors.

← PreviousButtonNext →Checkbox

Install

npx shadcn@latest add @pilipinas/card

For your coding agent