Home/Blocks/Card & panel

Card & panel

A rectangular container with a hairline border. The most-used surface in the system — every section, every list, every chart sits in one.

Stable .card Hairline border

Default

Hairline border, 12 px radius, 16 × 20 px padding. No shadow.

Branch performance

Three tills active. Yesterday closed clean. Today is tracking 12 % above the Tuesday average — driven mostly by mealie meal at the noon peak.

Default card.dash-card

With header

A 16 × 20 header strip with a thin border-bottom and (optionally) a right-side link or filter.

Sales by hour

Tuesday 3 June · Park Centre · open 7:30 → 19:30
Hour By till
Card with header

Tonal

Brand-soft for hero stats, danger-soft for exception zones.

Outstanding
$ 184,420
12 guardians in arrears · auto-reminders on
Brand-soft card
Exceptions · 3 open
Action required before close of shift.
Danger card

With table

The cardenation of a data table — a card-wrapped table block with consistent padding.

Open shifts

3 active · 1 on break
All shifts →
FM Faith Moyo
Till 02 · since 07:30
$ 1,842.10
AC Alex Chiwanza
Till 01 · since 07:30
$ 624.80
SN Sarah Ndongo
Till 03 · on lunch 14:00 – 14:45
$ 199.00
Card with table

Anatomy

PropertyValueNotes
border1 px --borderHover: --border-strong
radius12 px14 for tonal hero cards
padding16 × 20 px
headerpadding 16 × 20 + border-bottom subtle
shadownone at restEarned only by floating surfaces

Do & don't

Do

Use a card to group related content. Don’t stack lone text blocks in a card.

Don't

Add a shadow to make a card "pop". Cards belong on the canvas; shadows belong to popovers.

Do

Use tonal cards sparingly — one or two per surface, for emphasis.

Don't

Nest cards. If you need a container inside a container, use spacing or a divider.