Skip to content

Content

ProjectCard

Project card as on free-lenz.net: tag, the name as a display title sized by the card, task and meta; optional media on hover.

  • Experimental
  • Keyboard not tested yet
  • Screen reader not tested yet

Playground

Change the props. The controls come from the documented props.
E-commerce

OTTO

Relaunch of the OTTO app

Concept & UI · 2020

tsx
<ProjectCard
  tag="E-commerce"
  name="OTTO"
  task="Relaunch of the OTTO app"
  meta="Concept & UI · 2020"
/>

Usage

When to use

Use project cards for further projects below the featured cases, as on free-lenz.net: all of them visible, three to a row on wide screens, laid out with Columns layout="cards".

When not to use

  • For the main cases with their own page: use CaseTeaser.
  • For a long, plain list where each project needs only one line: use ProjectList.

How it works

The tag sits 12 px above the name. The name is a display title sized by the card, not the viewport: clamp(32px, 15cqi, 56px) of the card's own width, so a one-word name like “iLandGuide” fills at most 78 % of the card and never runs into the edge; on phones it is 32 px, one step below the section heading. A short accent rule, the task and the meta follow; the meta sits at the foot above a hairline, so cards in one row line up. With media, the screen of the project covers the card on hover and keyboard focus from medium screens; touch screens keep the text.

Content guidelines

Name as the client calls it. Task in one line, starting with the noun (“Relaunch of the OTTO app”). Meta in the same order on every card: role · year · via agency.

Do and don’t

Do
  • Lay cards out with Columns layout="cards"; cards in one row share a height.
  • Keep the meta in the same order on every card: role · year · via.
Don’t
  • Don't make the card title larger than the section heading above it.
  • Don't put a link or button inside; the card has no target of its own.

Anatomy

The parts of the component and what each one does, as in the playground above.
  1. containerCard with hairline border; a container for the title size.
  2. labelTag as an accent-outline Pill, 12 px (gap-label) above the name.
  3. titleThe name in display type: clamp(32px, 15cqi, 56px) of the card's width, 32 px on phones.
  4. separatorShort accent rule under the name.
  5. bodyThe task in small type.
  6. metaRole, year and channel at the foot, above a hairline.
  7. mediaCovers the card on hover and focus from medium screens; hidden on touch.

Examples

Type-checked, and the same code goes into the AI manifest. Import: import { ProjectCard } from "@/ds";

Cards in a row

Automotive

mobile.de

Campaign microsite

Concept/UI · 2013 · via VCCP

Careers

StepStone

Evolution of the job portal

Concept & UI · 2020

Travel

iLandGuide

Own startup: a tourism franchising app, scaled to 20+ locations

Co-Founder · Product & Communication · 2011–2015

Props

Checked against the component's TypeScript type on every build.
ProjectCard props
NameTypeDefaultDescription
name (required)string–Client or product; the display title, sized by the card.
task (required)string–What the project was, in one line.
metastring–Role · year · via agency, at the foot of the card.
tagstring–Discipline or industry as an accent-outline Pill above the name.
media{ src, alt, width, height }–Screen of the project; from medium screens it covers the card on hover and keyboard focus.
as"h2" | "h3" | "h4""h3"Heading level of the name.

Tokens used

Derived from the utility classes in the component's source. Copy a class with one click.
Tokens used by ProjectCard
TokenTierValueUtility
card.bgcomponent#FFFFFF
card.bordercomponentrgba(10,10,11,0.08)
card.paddingcomponent32px
card.radiuscomponent16px
display.trackingcomponent-0.035em
display.weightcomponent800
projectCard.title.compact.sizecomponent32px
projectCard.title.lineHeightcomponent1
projectCard.title.sizecomponentclamp(32px, 15cqi, 56px)
accent.defaultsemantic#C6492E
focussemantic#C6492E
motion.duration.basesemantic250ms
motion.ease.outsemanticcubic-bezier(0.16, 1, 0.3, 1)
spacing.0semantic0px
spacing.3semantic12px
spacing.4semantic16px
spacing.8semantic32px
spacing.labelsemantic12px
surface.pagesemantic#FAFAF7
text.primarysemantic#0A0A0B
text.secondarysemantic#555555
type.meta.sizesemantic13px
type.small.sizesemantic14px

Accessibility

What is checked automatically on every build, and what a person has tested. Nothing is marked as tested unless it was.
Testing status by check
CheckHowStatus
axe-core rulesAutomated on every npm run check, at desktop and mobile widthRuns on every build
KeyboardAutomated Playwright test (scripts/keyboard.mjs)Not tested yet
Screen readerManualNot tested yet

Keyboard

ProjectCard keyboard interactions
KeyAction
TabWith media: focuses the card and shows the media.

Semantics and focus

  • With media the card is focusable and named by the project, so keyboard users get the same reveal as on hover.
  • The tag and the rule are not read twice: the rule is aria-hidden, the tag is plain text.

Contrast

ProjectCard contrast pairings
PairingRatio (x:1)MinimumStatus
text.primary on surface.page18.924.5Pass
text.primary on surface.card19.794.5Pass
text.secondary on surface.page7.134.5Pass
text.secondary on surface.card7.464.5Pass
accent.default on surface.page4.574.5Pass
accent.default on surface.card4.784.5Pass
focus on surface.page4.573.0Pass
focus on surface.card4.783.0Pass