Skip to content

Card

A 12px surface with a hairline ring, header, content and footer.

Website refresh
Due on 12 December
Fourteen of twenty tasks are done. Two invoices are issued and one is awaiting payment.

Small

Open tasks
6
This week
Unpaid invoices
3
This week

Divided

Invoice INV-0412
Issued on 1 November
Design
840.00
Development
400.00
Total 1,240.00

With an image

Release 4.2
Fourteen changes, shipped on Tuesday.

Installation

npx shadcn@latest add @khaeli/card

Install @khaeli/foundation first: this item's styling lives in its tokens and [data-slot] rules.

Installs with

Registry items

Accessible name

  • A card is a plain div and CardTitle is not a heading. Where the card opens a part of the page, put a heading element inside CardTitle.
  • An icon-only button in CardAction needs an aria-label.

Registry JSON

The item as the shadcn CLI reads it, with every file it ships: https://ui.khaeli.com/r/card.json