Dustin Johnson ← Design Primitives
Design Primitive Reference · Part I · October 2026

Cards & Card Lists

The unit, the list, and the choice between them and a table. A card is a unit of content displayed in a list; what the list is for decides whether it wants cards at all, and then what each card holds, what it does when pressed, how the list is laid out, and which controls it gives the user.

I. What a Card Is

A card is a unit of content displayed in a list: one of several things of the same kind, each bounded so it can be recognised and opened on its own. One card alone is a panel, and a unit compared with its neighbours field by field is a table row. The list has layout options and the card has content options, and this chapter keeps the two apart.

The definition does the sorting that "a box with a shadow" never could. A bounded box on a page with nothing beside it of its kind is a panel: its width is a span of the page grid, its content is whatever the page needs it to hold, and nothing in this chapter applies to it. Give it five siblings of the same kind and it becomes a card, and two new questions arrive at once: how the six are laid out, and what each has to carry so that one can be picked from the others. Ask the user to compare the six by a value, a closing date or a count, and the units become rows. The specimens are the catalogue of a regional library's local-studies department, Ostrand & Carrow Libraries, whose exhibits are browsed by visitors and run by staff.

Local studiesOstrand & Carrow LibrariesVisit
Exhibit of the month

The Salt Road

Ostrand · 1780–1914

Packhorse routes that carried salt inland from the Ostrand pans, traced through toll books, inn ledgers and a drover's diary.

ExhibitBranchPeriodItemsCloses
Hollin Quay RopewalkCarrow1822–19381929 Nov 2026
Carrow Mill Strike, 1911Carrow19112710 Jan 2027
Herring Girls of OstrandOstrand1890–19393824 Jan 2027
The Salt RoadOstrand1780–19146414 Feb 2027
The Fenmouth LifeboatFenmouth1880–1960527 Mar 2027
Ostrand Harbour in MapsOstrand1650–1990412 May 2027
One unit, nothing beside it of its kind · 412 wide, 8 of 12 columns with a 24 gutter · a panel Six units of one kind · track grid minmax(192px, 1fr), gap 16 → 3 columns of 199.3 · cards The same six, compared by items and closing date · one rail per field, sorted by Closes · rows One exhibit on the home page · A panel, not a card Six exhibits to choose from · Cards Six exhibits to compare · Rows

Cards are a composite, which is why this chapter sits in Part III beside Data Tables and not among the foundations. A card has no variable of its own. Its corner, its edge, its level and its inset are the same four variables every surface has, and the foundations have set all of them (section II covers them in one frame). What a card adds is a set of questions about the list: when a list wants cards and when it wants a table, what goes in a card, what a card does when pressed, how the list is laid out, and what controls it gives the user. Grid I §IX named the card grid as a presentation form, for "records that carry a visual … or a small number of heterogeneous fields, where the user is browsing to recognize something," and Grid III §IV fixed its anatomy. This chapter takes the card form from there.

The boundaries, stated once. Grid III owns the choice of presentation form, the collection screen's regions, and the grid maths; Data Tables owns everything compared by column, and the split between the two (section IV) is written here once and cited there, so the pages can't disagree. Border I, Elevation I and Spacing I own the surface. Modal I owns what a card opens into when it isn't a page; Popover I owns the menu in its corner. Drag, Resize & Reorder (planned) owns the mechanics of reordering, Feedback & Notification (planned) the empty state's copy, and Imagery in the Interface (planned) the photographs and thumbnails that will replace this page's drawn placeholders.

One alone is a panel. Several to choose from are cards. Several to compare are rows.

II. Shape, Stroke & Elevation, Quickly

A card is an object on the page, so it rests at level 0, bounded by one cue: the hairline, or a white surface on a canvas a step darker. Its radius is the container step of the product's character and its inset the container inset of its posture. Of the eighteen combinations the three variables allow, four are valid, and a product picks one of them once.

Level 0 · at restLevel 1 · raised none 0sm 4md 8none 0sm 4md 8 Strokehairline .14
Salt Road64 items
Right · sharpBorder I §X
Salt Road64 items
Avoid · a big buttonBorder I §II
Salt Road64 items
Right · neutralBorder I §II
Salt Road64 items
Wrong · two cuesBorder I §VI
Salt Road64 items
Wrong · two cuesBorder I §VI
Salt Road64 items
Wrong · two cuesBorder I §VI
Background#fff on #ecebe6
Salt Road64 items
Right · sharpElevation I §II
Salt Road64 items
Avoid · a big buttonBorder I §II
Salt Road64 items
Right · neutralElevation I §II
Salt Road64 items
Wrong · rests at 0Elevation I §V
Salt Road64 items
Wrong · rests at 0Elevation I §V
Salt Road64 items
Wrong · rests at 0Elevation I §V
Shadowalone, on #f6f5f2
Salt Road64 items
Wrong · no edgeBorder I §VI
Salt Road64 items
Wrong · no edgeBorder I §VI
Salt Road64 items
Wrong · no edgeBorder I §VI
Salt Road64 items
Wrong · false heightElevation I §II
Salt Road64 items
Wrong · false heightElevation I §II
Salt Road64 items
Wrong · false heightElevation I §II
18 combinations · 4 valid, outlined · hairline edge 1.31:1 on the card's white, 1.20:1 against the canvas · white on #ecebe6 1.19:1 · white on #f6f5f2 1.09:1, which is no edge at all Radius × boundary × level · Each cell names the chapter that settled it

The four valid cells are two choices, made once. The radius is the product's character (Border I §X): md 8 for the neutral default, none for a sharp product, and 12 or 16 for the friendly and consumer characters that this grid leaves out because they are different scales, not more steps. The sm column fails because "a 4px card reads as a large button" (Border I §II). The boundary is the hairline by default, or a white card on a canvas a step darker where the region is already toned (Elevation I §II); never both. Every level-1 cell fails, for the reason Elevation I gives in one line: "a card in a grid is part of the page, so it rests flat or bordered at level 0 and never wears a shadow." The shadow row at level 0 is the white-on-white card, whose radius nobody can see.

VariableThe card's valueSet in
RadiusThe container step: md 8 neutral, 0 sharp; one per productBorder I §II, §X
BoundaryThe hairline rgb(46 40 30 / .14), or #fff on a canvas a step darker; one cueBorder I §V–VI
Level0 at rest, and at hover too in a list (section V)Elevation I §IV–V
InsetSquare: 12 compact, 16 default, 24 comfortableSpacing I §VI–VII
MediaFull bleed at the top, its top corners 7 (8 − the 1px edge); an inset thumbnail sm 4Border I §III
HoverStroke .14 → .32, or the stroke appearing on a tonal card; fast 150 both waysMotion I §VI, section V
SelectionA 1px inset ring inside the 1px edge: 2px, nothing movesCheckbox I §XI

That is the whole surface. The rest of the chapter assumes the neutral card: #fff, the hairline, md 8, level 0, inset 16, a title at 14/20/600 and one line at 13/20 in the muted ink.

III. Content Shapes

Every card holds a title and one identifying line in the same inset; the rest is one of six shapes, chosen once per list. Anything compared across cards belongs in a table column, and anything read line after line belongs on the page the card opens.

The Salt Road

Ostrand · 1780–1914

Image · 16:9 media, title, one line

Herring Girls of Ostrand

Ostrand · 1890–1939

The women who followed the herring fleet down the coast each autumn, gutting and packing on the quay.

Tall · 4:5 media, a 3-line description

Tide Tables & Almanacs

Online · 76 items

Short · title and one line, a chevron

Chapel Records of Fenmouth

Fenmouth · 1760–1902

Baptisms, marriages and burials from four chapels, transcribed by volunteers and searchable by name.

112 itemsOnline
Information · no media, a status in the footer

Visitors, September

4,812

+6% on August · all branches

Stat · label, value 28/36, context

The Fenmouth Lifeboat

Fenmouth · until 7 Mar

Service boards, crew photographs and the station's call-out log from eighty years of launches.

52 itemsBook a visit
Footer · one primary action
Six cards at 216 · inset 16 on all of them · title 14/20/600 in #1a1a1a · line 13/20 in #6b6b6b, 5.33:1 on white · the stat's value is its title, its context its line Six content shapes · One per list, not mixed

What the six share is what makes them cards. Each opens with the thing a visitor recognises, a picture or a name, then one line that says which one it is: the branch and the period, the format and the count. The title takes the card's one emphasis, 600 at 14 (PRIMER §14); the line is a value, so it takes the UI voice in the muted ink, the setting Type III §III gives a helper. The stat card is the same structure with its value promoted: a label, a number at 28/36, a context line, the anatomy Grid II §VII gives a stat tile, and like a tile it shares that anatomy with every sibling in its row. A list picks one shape and every card in it wears that shape, with the line budgets and the anchored footer of Grid III §IV, so the row reads as a row.

What doesn't go in is decided by how it would be read. A value the user would compare across cards, the closing dates, the item counts, the curator, wants to be read down a column, and the card is the one container that can't give it one: each card's copy of the field sits in its own box, at its own x. A text the user reads from start to finish, the exhibit's essay, the full list of items, wants the measure and the room of a page. A card that carries both stops being a way to choose and becomes a record set in a box too small for it. The specimen below is that card, built by a team that kept adding the fields people asked for.

Exhibits9Filter

Chapel Records of Fenmouth

Fenmouth · 1760–1902

Baptisms, marriages and burials from four chapels, transcribed by volunteers and searchable by name.

112 itemsOnline

Carrow Mill Strike, 1911

Carrow · 1911

Eleven weeks in the summer of 1911, told through the union's minute book, handbills, and the mill's own wage ledgers.

27 itemsUntil 10 Jan

The Winter Ferry

Ostrand · 1931–1978

The crossing that ran when the road flooded, from the first motor launch to the last timetable.

33 itemsOpens 2 Nov

Chapel Records of Fenmouth

Fenmouth · 1760–1902

Items
112
Curator
H. Penrose
Accession
FEN/CH/1–112
Opened
4 Mar 2024
Closes
—
Loans
None
Format
Online, transcribed

Baptisms, marriages and burials from four chapels in Fenmouth and its outlying parishes, transcribed from the original registers by a team of eleven volunteers between 2019 and 2023, and searchable by name, date and chapel.

OpenBookShareDownload PDF

Carrow Mill Strike, 1911

Carrow · 1911

Items
27
Curator
D. Albery
Accession
CAR/MS/1–27
Opened
12 Sep 2026
Closes
10 Jan 2027
Loans
3 from the union
Format
Gallery

Eleven weeks in the summer of 1911, told through the union's minute book, handbills, and the mill's own wage ledgers.

OpenBookShareDownload PDF

The Winter Ferry

Ostrand · 1931–1978

Items
33
Curator
H. Penrose
Accession
OST/WF/1–33
Opened
2 Nov 2026
Closes
28 Mar 2027
Loans
Ferry company archive
Format
Gallery

The crossing that ran when the road flooded, from the first motor launch in 1931 to the last printed timetable in 1978, with the skippers' log books and a scale model of the second ferry.

OpenBookShareDownload PDF
Measured below Measured below Seven fields, an essay and four buttons in every card · Wrong A picture, a title, one line, three lines of description, a footer · Right

The wrong row fails twice. Its seven fields are a table's columns, but laid out three times over, so finding the exhibit that closes first means reading three label lists in three boxes. And its paragraph is the exhibit page's first paragraph, copied into a box a third of the width it wants. Move the fields into a table view of the same list (section IV) and the essay onto the page the card opens, and what is left is what a visitor needs to choose: a picture, a name, which branch, roughly what it's about, and whether it's on.

A card holds what tells one from another. What is compared goes in a column; what is read goes on the page.

IV. Cards or a Table

Cards and tables both manage a list of things, and the split is what the list is for. Cards are editorial and navigational: each item is a destination, read on its own terms, recognised by a picture or a title, and allowed an unequal shape. Tables are informational and comparative: each item is a row of values read down a column, recognised by a key, and required to have an identical shape. If the user compares items by a value, it is a table; if the user chooses one to open, it is cards.

Four questions decide it, in order, and the first one usually settles the matter on its own.

AskCards whenA table when
1 · The taskThe user chooses one to openThe user compares items by a value
2 · IdentityAn item is known by its picture or its titleAn item is known by an identifier and its fields
3 · OrderThe list is scanned by eye; one sort, from a menuThe list is sorted by several columns, from the header
4 · ShapeItems are unequal: optional fields, text of any lengthEvery item has the same fields (cards also cope)

Each wrong answer is made by competent teams, and each one has a reason that sounds good in a review. The first is a timetable built as cards because the product's other screens are cards and the designer wants the screens to match. The ferry operator's departures board, from Modal I, is the case.

Winter 2026 · OstrandSailings todayFilter

07:40

Ostrand – Hollin Quay

MV Tern

Booked 212 of 240

08:15

Carrow – Fenmouth

MV Skua

Booked 96 of 180

09:05

Ostrand – Carrow

MV Fulmar

Booked 188 of 200

09:50

Hollin Quay – Ostrand

MV Tern

Booked 154 of 240

10:30

Fenmouth – Carrow

MV Gannet

Booked 41 of 160

11:10

Ostrand – Hollin Quay

MV Skua

Booked 171 of 180

11:45

Carrow – Fenmouth

MV Fulmar

Booked 63 of 200

12:20

Ostrand – Carrow

MV Tern

Booked 198 of 240

DepartsRouteVesselBookedCapacityFree
07:40Ostrand – Hollin QuayMV Tern21224028
08:15Carrow – FenmouthMV Skua9618084
09:05Ostrand – CarrowMV Fulmar18820012
09:50Hollin Quay – OstrandMV Tern15424086
10:30Fenmouth – CarrowMV Gannet41160119
11:10Ostrand – Hollin QuayMV Skua1711809
11:45Carrow – FenmouthMV Fulmar63200137
12:20Ostrand – CarrowMV Tern19824042
Measured below Measured below Eight sailings as cards · Wrong: the comparison the page exists for is gone Eight sailings as a table · Right

The sailings fail as cards on the first question. A dispatcher reads this board to compare: which sailing is nearly full, which vessel is on the 09:50, how many seats are left on the 11:10. Every one of those is a value read down a column, and the cards have no columns. The booked figures sit at three x positions on three rows, inside three different boxes, at the end of a line that starts with the word "Booked" eight times. Finding the fullest sailing means reading all eight cards; in the table it is the Free column, right-aligned in tabular figures, one glance down. Nothing on the cards is a picture, and nothing about a sailing is unequal: every one has the same six fields. The cards are a table with the columns taken out.

The opposite mistake comes from the other direction: a team with a data grid in its component library builds every list from it, because a table is "more efficient." The operator's route gallery, where a passenger picks the crossing to look at, is the case.

RoutesWinter 2026Timetables
MapRouteCrossingSailings a dayVessel
Ostrand – Hollin Quay45 min6MV Tern
Carrow – Fenmouth35 min4MV Skua
Ostrand – Carrow50 min5MV Fulmar
Fenmouth – Hollin Quay1 h 10 min2MV Gannet
Ostrand – Skerne25 min8MV Skua
Carrow – Vardle Point40 min3MV Fulmar
Measured below Measured below A gallery of route maps as a table · Wrong: the identifier is 40px tall The same routes as cards · Right

The routes fail as a table on the second question. A passenger looking for "the one across to the island" knows it by its shape: the coast, the crossing, which side the harbour is on. That picture is the identifier, and the table shrinks it to a 72 × 40 thumbnail in its narrowest column, while the Route column repeats in words what the picture says. The values the table lines up so carefully, crossing time and sailings a day, are not what anyone compares here; they are what the passenger checks once the route is chosen. As cards the map is the first thing in each unit, at nearly eight times the area, and the name confirms it. Nobody sorts this list.

The middle case: one list, two views

Some lists genuinely serve both tasks. The library's exhibits are chosen by visitors and compared by the staff who schedule them: which closes first, which branch is short of something to show in March. That list gets a view switch, at the toolbar's end where Grid III §VII puts everything that changes how records are shown, and the rule for the default is the entity's form: the view the list's main audience uses, which is the view the same entity takes everywhere else in the product (Grid I §IX). The switch is remembered per person, so a curator who works in the table finds the table the next morning.

Exhibits9 · Ostrand & Carrow
Default · cards, because the catalogue is browsed by visitors and exhibits are cards everywhere else in it Second view · the same nine, sortable by closing date, for the staff who schedule them · remembered per person One list, two tasks · A view switch at the toolbar's end · Right

The default never flips by screen size or by count. A list that is cards on the desktop and a table on a phone, or cards until there are fifty and a table after, teaches two products. If the two audiences are separate products, a public catalogue and a staff console, each gets its own form and no switch at all. The switch is for one list with two tasks, and only when the second task is real.

CardsTable
The list isEditorial and navigationalInformational and comparative
Each item isA destination, read on its own termsA row of values, read down a column
Known byA picture or a titleA key and its fields
ShapeUnequal allowed; the anatomy absorbs itIdentical required
OrderOne sort, from a menu at the toolbar's endAny column, from its header
Many itemsLoad more at the bottomA virtualised table that keeps its count; pages when a page is costly or needs an address
SelectionA mode; the card becomes the labelA leading 32 column, always there
Densityinset 12 · 16 · 24rows 28 · 36 · 44
Both viewsA view switch at the toolbar's end; the default is the entity's form; remembered per person

Data Tables takes it from the other side and states the same split in its own first section: everything after the choice, the columns, sorting, inline editing, fixed headers, is there.

Compare by value, a table. Choose one to open, cards. When a list does both, switch views and default to the entity's form.

V. The Card's Actions

A card does one thing when it is pressed. Either the whole card is the link and the only other target, if any, is a menu in its corner; or the card holds one primary action and puts the secondary ones in that menu or in a footer row. Hover says the card is live with a stroke or a tint, never a lift.

ExhibitsOstrandFilter

The Salt RoadThe Salt Road

Ostrand · until 14 Feb

Packhorse routes that carried salt inland from the Ostrand pans, traced through toll books, inn ledgers and a drover's diary.

64 itemsOn display
64 items
OpenBookShareAdd to tour

Herring Girls of OstrandHerring Girls of Ostrand

Ostrand · until 24 Jan

The women who followed the herring fleet down the coast each autumn, gutting and packing on the quay.

38 itemsOn display
38 items
OpenBookShareAdd to tour
Hover a card, press one, or open its menu 1 target · the whole 307 × 314 card · hover: stroke .14 → .32 and the title underlined, 150ms 2 targets · the card, and a 32 × 32 menu button whose glyph sits on the title's line · the menu holds the rest, the destructive one last 3 targets · the card, a secondary and one primary on the footer's trailing end · each button sits above the card's link 4 equal buttons, none of them primary · the card's own surface does nothing when pressed, and lifts on hover as if it would The whole card is the link · Right The link and a corner menu · Right The link and a footer row with one primary · Right Every action a button, the card a dead surface · Wrong

Pick by how many things the card does. A catalogue card does one thing, open the exhibit, so the whole card is the link and nothing else on it is a target. When there are routine secondary actions (copy the link, add to a tour), they go in a menu behind the more button in the top-end corner, the one place the universal six allow an unlabelled glyph, in a 32 target with "More actions for The Salt Road" as its name; the menu follows Popover I §IX, routine actions first, the destructive one last after a separator with an ellipsis, and no icons by default (Icons I §IX). When one action is as common as opening, booking a visit here, it earns a button, and it is the one primary on the card, at the footer's trailing end, with at most one secondary beside it (Buttons I §III: "one solid button per view," and a card is a view of one thing). The card still opens from everywhere else on its surface.

The wrong frame is what happens when every request becomes a button. Open, Book, Share and Add to tour at equal weight make four targets that compete, and the one action everyone takes, opening the card, is now a small outlined button in a row of three like it. Worse, the card's large surface does nothing, so the click most people make, on the picture or the title, is lost. Removing Open and making the card the link fixes both: the surface is the most common action, and the footer has room for the one that deserves a button.

Hover without a raise

A card in a list says it is live with a stroke or a tint and never with a lift. Elevation I §V allowed one lift, 0 to 1 with a 1px rise, for a card that is entirely one link, and Elevation II §V built its cross-fade. A card list withdraws it, for three reasons. The pointer crosses a grid constantly, and each card it passes lifts and drops, so the list ripples while the user is only moving toward something. A lift is a claim about height on a page whose cards were all set at level 0 precisely so that the one raised thing, the menu, would be legible. And a list has both kinds of card in it, the one-link card and the card with a menu or a footer, and a lift on some cards but not others is a hover rule nobody can predict. One rule for every card in a list: the hairline darkens from .14 to .32, the title underlines, in fast 150 both ways (Motion I §VI), and nothing moves.

The Fenmouth Lifeboat

Fenmouth · 1880–1960

Lift 0 → 1, rise 1px · Avoid in a list
Stroke .14 → .32 · Right
Tonal card, the stroke appears · Right
Edge on white: rest .14 = 1.31:1, hover .32 = 1.93:1 · the tonal card's white on #ecebe6 is 1.19:1 at rest, the .32 stroke 1.93:1 on hover · all three in fast 150, ease-out, both ways Three hovers · Run the pointer across, or force the state

Touch has no hover, so nothing may depend on it: the card must already look like a link at rest, through its title and its edge, and the hover only confirms it. On a selectable card, selection is a different signal and must not be confused with hover: the 2px edge of Checkbox I §XI, a 1px inset ring inside the 1px hairline in the primary ink, against hover's single darker pixel.

VI. Nested Targets & Focus Order

Never wrap a card in a link. The title is the link, a pseudo-element stretches its target over the whole card, and the card's buttons sit above it in the stacking order. Focus then visits the title, the menu in its corner, and the primary in the footer, in reading order, and a screen reader hears the card's name as the title alone.

The Salt Road

Ostrand · until 14 Feb

Packhorse routes that carried salt inland from the Ostrand pans, traced through toll books, inn ledgers and a drover's diary.

64 items
The title is the link, stretched · Right
The Salt Road Ostrand · until 14 FebPackhorse routes that carried salt inland from the Ostrand pans, traced through toll books, inn ledgers and a drover's diary. 64 itemsBook a visit The card wrapped in an <a> · Wrong
Press anywhere on either card, or Tab through them Right · 3 Tab stops in reading order: the link “The Salt Road” (3 words), “More actions for The Salt Road”, “Book a visit” · Wrong · 1 stop: a link whose name runs to 34 words, its two “buttons” never reached by Tab One card, two constructions · Measured in the browser

The wrapped card looks identical and fails in three ways. HTML doesn't allow it: the content model of <a> forbids interactive content inside it, so a button inside a link is invalid, and browsers disagree about which of the two gets the press. Its accessible name is everything inside it, read as one link of thirty words, every time the user tabs onto it or lists the page's links. And its buttons are reached only by pointer, because the link holds the focus stop. The stretched link gives the same large target with none of that: the <a> wraps only the title, its ::after covers the card, and every real control is lifted above it.

.card { position: relative; } .card-title a::after { content: ''; position: absolute; inset: -1px; z-index: 1; border-radius: inherit; } .card :is(button, a:not(.card-title a)) { position: relative; z-index: 2; } /* Focus draws the ring on the stretched target, so it surrounds the card, not the title. */ .card-title a:focus-visible { outline: none; } .card-title a:focus-visible::after { outline: 2px solid; outline-offset: 2px; } /* Text stays selectable where it matters: lift the description above the link if users copy from it. */

Focus order is reading order, and the source order is that order. The title comes first because it names the card and the screen reader announces the card by it. The menu button is next: it sits on the title's line, at its end, so it is the next thing read, and its name, "More actions for The Salt Road", carries the card's name so it makes sense out of context. The footer's primary is last, as it is on screen. Writing the markup in that order means no tabindex and no CSS reordering, which would make the focus jump from the footer back to the corner. A list of cards is a list, <ul> of <li>, so assistive technology announces how many items it holds before the first one.

VII. The List's Layout

Four layouts, by what the list is for. A fixed-size grid for a collection browsed to recognise something, which is the default. Masonry only when height is the content. A horizontal scroller for a sample of a list that lives somewhere else. A vertical list of full-width cards for items read one after another, capped at a measure. The column count comes from the card's minimum width, never from a number.

Exhibits9 Poster archivePrinted for the exhibits, 1952–2026 The Salt RoadExhibit What's onOpenings and talks Filter

The Salt Road

More from OstrandSee all 24

Measured below Fixed-size grid · auto-fill, a minimum width, rows · Right Masonry of posters · Height is the content · Right Masonry of equal content · Height is only text length · Wrong A shelf of nine on the exhibit page, with See all · Right The whole catalogue in one scrolling row · Wrong A vertical list of full-width cards, capped at 600 · Right

The grid is the default, and its maths is Grid I's track grid. repeat(auto-fill, minmax(192px, 1fr)) with a 16 gap in this 630px main gives three columns of 199.3; the count follows the space, and a card never stretches past about twice its minimum (Grid I §IV). Choose the minimum from the content: 240 for record cards, 160 to 200 for thumbnails (Grid III §IV). On a 1440 window with a 240 sidebar and 32 margins the main is 1136, and minmax(240px, 1fr) with a 24 gutter gives four columns of 266. The gap is the gutter, a step of the spacing scale, and a card's inset is smaller than it, the nesting rule at the card's own level.

Masonry only when height is the content. A poster's proportions are what it is, and cropping a portrait to 16:9 throws away the poster; packing them into columns by height keeps every one whole, and nobody reads a poster wall in order. The same packing applied to exhibit cards, whose heights differ only because one description is longer than another, is the failure Grid I §IX named: the top row reads 1, 4, 7, the cards under them start at three different heights, and a list sorted by closing date can no longer be read in that order, across or down. Equal content gets the grid and Grid III's line budgets.

A horizontal scroller is for a sample, never the list itself. On an exhibit's page, "More from Ostrand" is a shelf of nine with See all 24 at its end: the user may browse a few, and the full list lives one click away. As the catalogue, the same row leaves all but three of its 24 items past an edge a mouse user can't scroll without a trackpad or Shift, gives no count, no rows to scan, and no sort. On a phone the scroller is the reduction of a shelf, and fine; on the desktop the main collection is a grid. Its padding has to hold the reach of the focus ring and the hover, 4px here, returned by a negative margin (Elevation II §VIII).

A vertical list of full-width cards is for reading one after another. "What's on" is a feed: openings and talks, each with a picture and two lines that are worth reading, in date order. Capped at 600 and centred, it is a column of reading, not a table missing its columns; section VIII shows it without the cap. The same layout given exhibits with comparable fields is the stacked card Grid I §IX calls "a mobile layout that was never reduced from anything"; the test is whether the cards carry text to read or values to compare.

VIII. The Card That Stretches

A card has a maximum width, and it comes from its content: media 160 to 240 wide plus a line of copy at 45 to 65 characters comes to 480 to 640. Past that the card is a row wearing a card's border, and the border is what makes the blank space read as a mistake rather than as margin. Cap the card and centre the column, or drop the border and make it a row; never let the window set the card's width.

The failure starts with a list that could justify a card. Each item has a picture, so it doesn't feel like a table row, and tables don't do pictures well, so the team reaches for a card, sets it to the width of the main, and ships it on a laptop where it looks fine. On a wider window the card grows and its content doesn't. The specimen is the library's "What's on" page in a 1360 × 850 window, drawn at half size so the whole width is in view.

Viewport 1360 × 850 · drawn at ½
Ostrand & Carrow LibrariesExhibitsWhat's onVisit

What's onTalks, walks and openings in November

  • Opening: The Winter Ferry

    Sat 7 Nov · 14:00 · Ostrand

    Ostrand · with the curator

    Join the curator for a first look at the skippers' log books, the timetables of 1931 to 1978, and the scale model of the second ferry.

    Sat 7 Nov · 14:00
  • Talk: Salt, Tolls and Drovers

    Thu 12 Nov · 19:00 · Ostrand

    Ostrand · 60 min

    An evening on the packhorse routes inland from the Ostrand pans, with readings from a drover's diary and the toll books of three inns.

    Thu 12 Nov · 19:00
  • Family history drop-in

    Sat 14 Nov · 10:00 · Fenmouth

    Fenmouth · no booking

    Bring a name and a parish, and volunteers from the chapel records team will help you search the Fenmouth registers.

    Sat 14 Nov · 10:00
  • Walk: Hollin Quay Ropewalk

    Sun 22 Nov · 11:00 · Carrow

    Carrow · 90 min, outdoors

    A guided walk along the quarter-mile shed and the quay, ending at the Carrow branch for the photographs.

    Sun 22 Nov · 11:00
  • Talk: The Strike Ledgers

    Thu 26 Nov · 19:00 · Carrow

    Carrow · 45 min

    What the mill's own wage books say about the eleven weeks of 1911, read beside the union's minute book.

    Thu 26 Nov · 19:00
Measured below The card at the window's width, the date pinned to the far edge · Wrong A label and one line in a full-width box · Wrong: a table or a list The same cards capped at 600 and centred · Right The same items as rows of one surface · Right Two columns of 600, for a list that is browsed · Right

Stretched. The card is as wide as the main, 1,312 at this window, and nothing in it wants that width. The picture stays 160, the copy runs out in one long line or stops halfway across, and the date and chevron are pinned to the far edge with a gap between them and the copy that nobody chose. It is the commonest shape of the failure, picture at the left and date at the far right, and it fails on reading: the copy's line is past any comfortable measure or short of the card's edge by hundreds of pixels, and the eye has to cross that gap to find out when the event is.

Stretched, text only. Take the picture away and nothing is left to justify the box: a label and one line in a box 1,312 wide, most of it empty. This one was never a card. Items that are a name and a value, all the same shape, read in order, are a list or a table (section IV; Tables I §I), and the border around each is what turns their natural white space into a row of empty boxes.

Capped and centred. The same cards at 600, the column centred in the window. The copy now runs at a reading measure, the date moves under the title where the eye reaches it before the copy, and the space either side of the column is margin, which is the page's and looks deliberate, rather than card, which looks unfinished. This is the feed of section VII, and the cap is what made it right.

As rows. Drop the border and the stretch stops being a problem. A row is a slice of one surface, so its width is the page's; a 64 × 36 picture at the start, the title and one line, the date on the row's end in the muted ink, and a hairline between rows (Grid I §IX's list and table; Tables I for rows). The gap between the title and the date is a column's gap now, the same in every row, which a table reads as structure. Rows are the answer when the items are peers scanned by one field, read in order, each with the same fields.

Two up. When the list is browsed rather than read in order, the capped card can repeat across instead of only down: repeat(auto-fill, minmax(480px, 1fr)) in a column capped at 1,224 gives two cards of 600 with a 24 gutter, the column maths of section VII. The card's width is still the content's; the window only decides how many fit.

Two tells find this on any screen. A gap that grows with the window: resize it, and if the space inside a card changes, the card has no maximum. And content pinned to both edges of one card, something at the start and something at the far end, with nothing between them that needs the room.

Cap the card and centre the column, or drop the border and make it a row. The window decides how many cards fit, never how wide one is.

IX. The List's Controls

A card list gives the user the controls its task needs and no more, in the collection screen's places: search and filters at the toolbar's start, sort and the view switch at its end, a Select mode that turns each card into a label and swaps the toolbar for a bulk bar, and drag to reorder only on a list whose order belongs to someone.

Exhibits
0 selected
Search, filter, sort, switch views, or press Select The collection screen, live · Every control in its region

The toolbar is Grid III's, unchanged. Its start holds what changes which exhibits are shown, search then the branch filter; its end what changes how they are shown, sort then view (Grid III §VII). New exhibit belongs to the page header because it acts on the collection, not on the view. A card list sorts by one key chosen from a menu, because cards have no column headers to press; if the user needs a second key, or wants to sort by a value they can't see on the card, that is the table's job, and the view switch is how they get to it. A grid browsed for recognition loads more at the bottom rather than paginating, and keeps the count beside the button.

Selection is a mode. A whole-card link and a selectable card want the same press, so the list can't offer both at once. Select puts the list into selection: every card shows its checkbox at the leading top, a press anywhere on the card toggles it, and selection draws the 2px edge (Checkbox I §XI). The toolbar is replaced by the bulk bar in the same place, so nothing below moves, which is Grid III §VII's rule; Done leaves the mode. The bulk bar holds routine actions only. Archiving or deleting many exhibits is a destructive act that goes through its own confirmation (Modal I §X), from a menu or the record, never beside Export on a bar a stray click reaches. A list where selection is the main task, a picker of files to attach, is a different component and keeps its checkboxes visible at rest.

Reorder belongs to a list whose order is someone's. "Curated order" is the order a curator set for the catalogue's front page; choosing it shows a grip on each card, and only then may cards be dragged. A list sorted by a value can't be reordered by hand, because the next sort would undo it. The drag itself, the ghost at level 4, the slot, the keyboard alternative, is Drag, Resize & Reorder (planned). When nothing matches, the toolbar stays and the message names the search and the filter, with Clear filters as its one action: the zero-results state of Grid III §VII, whose position this chapter inherits and whose copy belongs to Feedback & Notification (planned).

X. Density & Reduction

Posture moves two numbers in a card list, the card's inset and the gap between cards, and nothing else: 12 and 12 compact, 16 and 16 default, 24 and 24 comfortable. The card's minimum width comes from its content and stays. On a phone the grid reduces to two columns of thumbnails or one of cards, and the description is the first thing to go.

Exhibits9Filter
Measured below One list, three postures and a phone · Only inset and gap move

The relationship that has to survive every posture is the nesting rule: the card's inset is never larger than the gap between cards, so the eye groups each card's contents before it groups cards (Spacing I §V). Equal inset and gap, as here, is the limit; a 24 inset in a 16 gap makes the cards' contents drift toward their neighbours. Type holds: Spacing I §VII lets it move at most one step, in compact only, and a card title doesn't need to. On the phone the grid's minimum drops to 160 so two thumbnails fit across 343, the description goes, and the title and one line remain, because they were the card. A shelf crosses to the phone unchanged; a grid of record cards becomes one column, which is the one place the full-width card of comparable fields is right.

XI. The Checklist

Decide each card list in this order; each step assumes the ones before it.

1
Check it is a listOne bounded box alone is a panel and takes the page grid's span. Several of one kind are cards or rows.
2
Cards or a tableCompared by a value: a table. Chosen to open: cards. Known by a picture or a title: cards. Sorted by several columns: a table. Unequal shape: cards only.
3
If both tasks are real, add a view switchAt the toolbar's end. The default is the entity's form everywhere else; remembered per person; never by screen size or count.
4
Take the surface from the foundations#fff, the hairline .14 or white on a toned canvas, md 8 (or the product's character), level 0, square inset 12 / 16 / 24.
5
Pick one content shapeImage, tall, short, information, stat, or footer. Always a title and one identifying line. Fixed media ratio, line budgets, anchored footer.
6
Leave out what is compared or readValues compared across cards go in the table view's columns. Text read start to finish goes on the page the card opens.
7
Give the card one thing to doThe whole card is the link, or it holds one primary at the footer's end. Secondaries in a 32 corner menu or a footer row. Nothing irreversible on the surface.
8
Stretch the title, never wrap the cardThe title is the <a>; its ::after covers the card; buttons sit above it. Focus in reading order: title, menu, primary. The list is a <ul>.
9
Hover without a raiseStroke .14 → .32 (or the stroke appearing on a tonal card), the title underlined, fast 150 both ways. Level 0 throughout. Nothing depends on hover.
10
Lay the list out by its purposeGrid with auto-fill and a minimum from the content. Masonry only when height is the content. A scroller only for a sample with See all. A capped column for a feed.
11
Cap the cardIts maximum is media plus measure, 480 to 640. Past that, centre a capped column or drop the border and make rows. A gap that grows with the window, or content pinned to both edges, is the tell.
12
Give only the controls the task needsSearch and filters at the start, one sort and the view at the end. Selection as a mode with a bulk bar in the toolbar's place. Reorder only in a curated order.
13
Set the posture, then reduceInset and gap move together; type and minimum width hold. Phone: two columns of 160 thumbnails or one of cards; the description goes first.

Steps two, six and seven are the judgement; the rest are contracts the foundations already wrote. The audit: for every card list, ask what the user does with it, compare or choose, and look for the value they would compare; count the buttons on one card; press the blank middle of a card and see whether anything happens; widen the window and watch whether any card's inner gap grows; run the pointer across the grid and watch for movement; Tab through one card and listen to its name; filter to nothing and see whether the toolbar stays.

Data Tables takes everything after the choice in section IV. Drag, Resize & Reorder (planned) takes the drag. Feedback & Notification (planned) takes the empty states' words and the toast after a bulk action. Loading & Skeleton States (planned) takes the card's skeleton, which is this chapter's anatomy drawn in placeholders. A Part II would take the board, cards in columns by status, and the dashboard of mixed cards. Each still answers the first question: is this list for choosing, or for comparing?

Part I of Cards & Card Lists.
A card is one of many, chosen and opened. Compared, it would have been a row.