Browse the docs

Cards

Three paper objects for three jobs: a ticket stub for queue items, a taped unit card for people, a sticky note for quick context.

Server ComponentWCAG AASince v0.1

Live example

Sketch #1042, 9:14 AM

Cat in a teacup, take two

Medium
Open

Jun Reyes

Animator, 2 boards open
In progress6min left

Change every prop live in the playground.

Props

TicketCard

PropTypeDefaultWhat it does
titlerequiredReactNodenoneThe ticket's title, lettered in Sketchpop.
childrenReactNodenoneTags, assignee and so on.
headingLevel2 | 3 | 43Heading level of the title.
loadingbooleanfalseStill on its way: the same card with paper scraps for the words, aria-busy and read out as "Loading".
metaReactNodenoneSmall line above the title, e.g. "Sketch #1042, 9:14 AM".
stubReactNodenoneThe tear-off stub, e.g. "Open".
tiltnumbernoneRotation in degrees. Leave it out for the card's own small tilt.

Also takes every attribute of <article> (276 more, e.g. onClick, className, aria-*).

UnitCard

PropTypeDefaultWhat it does
namerequiredReactNodenoneThe person's or project's name, lettered in Sketchpop.
avatarReactNodenoneUsually an <Avatar>.
childrenReactNodenoneRows: status and ETA, actions.
headingLevel2 | 3 | 43Heading level of the name.
loadingbooleanfalseStill on its way: a loading avatar and paper scraps for the words, aria-busy and read out as "Loading".
subtitleReactNodenoneA small line under the name, e.g. a role.
tiltnumbernoneRotation in degrees. Leave it out for the card's own small tilt.

Also takes every attribute of <article> (277 more, e.g. onClick, className, aria-*).

StickyNote

PropTypeDefaultWhat it does
childrenrequiredReactNodenoneWhat the note says.
footerReactNodenoneSmall line at the bottom, e.g. "Added by Ana, 9:06 AM".
tiltnumbernoneRotation in degrees. Leave it out for the card's own small tilt.
tone"mustard" | "mint" | "pink"mustardPaper color of the note.

Also takes every attribute of <aside> (277 more, e.g. onClick, className, aria-*).

Use it well

DoKeep one job per card: a queue item, a person, or a note.
Don'tNest cards inside cards. Paper on paper on paper gets hard to read.

Accessibility

  • Tickets and unit cards are <article>s with real headings (level 3 by default).
  • Sticky notes are <aside>s.
Five stamps!

All aboard.

You took the whole tour. Here's Holo Pip, a foil sticker for riders who finish. It's in your playground tray now, for good.