Job board

Mini card

A mini card shows one fact about a job posting on the job post page — its date, pay, role, seniority, remote status, city or country — as an icon and a label on a coloured tile. Colour picks the tile from six, and Breakpoint (md, sm) matches the page's layout.

Design
Finished
Level
Draft
Audit
1 open findingat the audit of
Last changed

Preview

Mini card, default variant as designedMini card, default variant as designed
Default variant as designed, light modedark modeOpen in Figma

Usage

Do

  • Use in the job post's overview, one card per fact, in the same order on every posting
  • Pair each fact with the same icon everywhere — calendar for the date, banknote for pay, hammer for the role, graduation-cap for seniority, earth for remote, map-pin for the city, flag for the country
  • Set Label text to the value alone

Don't

  • Use in the job list: use Tag, which is the compact form of the same facts
  • Choose Colour to signal status: use Tag with Feedback=Danger
  • Put a fact on the card that the posting does not state

Behaviour

  • Colour (Blue, Green, Orange, Pink, Purple, Yellow) sets the tile and icon colour; it carries no meaning of its own
  • Breakpoint follows the page — sm on the phone job post, md above it

Composition

  • The icon is supplied through Icon swap; the default is map-pin

Dependencies in Figma

Places 1 component from another library: Icon/map-pin / Size=20. This snapshot does not hold them, so this page cannot link to them or describe them.

Level checks

Draft · next level blocked by Errors open

The ladder's checks for Mini card
CheckLevelResult
AuditedReadyPasses
No errors openReady1 error open
Has a descriptionReadyPasses
Usage and Don't writtenReadyChecked at the next audit
Every layer namedReadyPasses
In codeReadyPasses
No warnings openStablePasses
Code gen notes writtenStableChecked at the next audit
Auto layout throughoutStableChecked at the next audit
Matches the designStablePasses

Anatomy

12
Every option switched on: what the component can contain, not how it is usually used
#PartShownComponent
1IconAlwaysmap-pin
2LabelAlways–

Properties

Mini card: each property, its type, values and default
PropertyTypeValuesDefault
BreakpointVariant
mdsm
md
ColourVariant
BlueGreenOrangePinkPurpleYellow
Blue
Label textTextany textLabel
1 instance swap (icons and parts a designer can replace)
  • Icon swap

Implementation

What code builds differently from the drawing, and why
FigmaCodeWhy
Breakpoint: md, smMedia or container queriesOne component responds to its width; the variants are the widths drawn.

Changes on 4 Nov
ChangeTypeFigma filesCodeDetails
Label: heightRestyledBreakingMinor
Label: positionRestyledBreakingMinor
Mini card: heightRestyledBreakingMinor
Label: text styleRestyledMinorMinor
Label: line heightRestyledMinorMinor
Label: letter spacingRestyledMinorMinor

Changes on 19 Sept
ChangeTypeFigma filesCodeDetails
DescriptionDocsPatchPatch

Changes on 7 Sept
ChangeTypeFigma filesCodeDetails
Label: truncationRestyledMinorMinor
Label: max linesRestyledMinorMinor

Changes on 1 Sept
ChangeTypeFigma filesCodeDetails
Label: heightRestyledBreakingMinor
Label: positionRestyledBreakingMinor
Mini card: heightRestyledBreakingMinor
Label: line heightRestyledMinorMinor

Changes on 25 Aug
ChangeTypeFigma filesCodeDetails
Property BreakpointAddedMinorMinor
VariantsNot gradedNot gradedNot graded

Changes on 22 Aug
ChangeTypeFigma filesCodeDetails
Property ColourAddedMinorMinor
VariantsNot gradedNot gradedNot graded

Changes on 21 Aug
ChangeTypeFigma filesCodeDetails
Nested component renamed (1 layer)Not gradedNot gradedNot graded
Its values movedRestyledMinorMinor
ComponentAddedMinorMinor