Skip to content

No.80 · Cards

Folio Card

An article card as thick as the article: page edges stack out from its corner, one sheet per 300 words, and a ribbon marks your place if you've started reading.

The prompt

The design brief behind this component — reuse it to regenerate, remix, or explain it.

Build an article card (a single link) whose depth shows the article's length. The card is a sheet of paper — mono kicker in the accent, serif title, short dek, author and date, and a mono line '11 min · 2,600 words'. Behind it, the pages: one box-shadow per sheet (words ÷ 300, between 2 and 30), each offset diagonally by i × a 'fan' amount and alternating between two paper tones so every edge reads as a line, plus one soft shadow under the whole stack. The card reserves margin for its own thickness so a grid of cards stays aligned. The fan amount is a registered @property number (1.25px per sheet at rest), so hovering or focusing the card animates it to 2.1 and the pages fan out smoothly (520ms expo-out) while the sheet lifts 2px toward the corner. If the reader has started the article (progress 0–1), a swallowtail ribbon hangs out from between the pages at that depth and the meta line adds '6 min left' in the accent; the ribbon swings a few degrees on hover. A note, a guide and an essay side by side should look different before you read a word.

Notes

Interaction
Hover or focus to fan the pages. The whole card is one link.
Motion
Fan and lift 520ms expo-out via a registered custom property; the ribbon swings 6° on hover.
Accessibility
One link with the title, meta and reading time as its text; the page edges and ribbon are decoration. Focus fans the pages like hover and shows a ring. Reduced motion keeps the pages still.
Responsive
Fluid width; the right and bottom margin equal the stack's depth so cards align in any grid.

Featured

301 components