Fair Case

LogoLockup

The Balance mark and the outlined Fair Case wordmark, as one link home. The server draws the still mark; the people-led entrance plays once per tab when script runs.

The lockup

On a light ground and a dark one, with the 10.5px clear space dashed. Drawn as static HTML, so it shows the end state of the motion.

light pages
dark pages

TSX

<LogoLockup label="Fair Case" />

{/* A fixed dark bar passes the dark blue */}
<LogoLockup label="Fair Case" markClassName="fill-[var(--fc-dark-accent)]" />

Code

TSX

<LogoLockup label="Fair Case" />

The docs site's header draws it with its own hover: <LogoLockup href="/docs" label="Fair Case" className="rounded-4 text-fg transition-tone hover:text-accent" />. The sizes, colours and clear space are on the Brand page.

Motion

The entrance plays only where script runs. This page ships none for it, so it shows the end state. The sequence's times are on the Brand page.

How the motion is decided
RuleHow it works
PlaysOnce per tab. The first load with the mark plays it; every reload and later page in that tab shows the still mark. Reduced motion shows the still mark every time.
Length3130ms, then the exact still artwork. It never loops.
DecidedBefore first paint, by a head script that sets data-logo-motion="ready" on <html> only when the motion will play.
RememberedIn session storage under fc:logo-played. If storage throws, the still mark stays.
FallbackIf nothing claims the mark within 4000ms, for example because hydration failed, the head script removes the marker.

Colour

Colour
PropValueHow it looks
marklight pages#B2D5FF (--fc-rule). Both people and the wordmark take the link's text colour.
markdark pages#7EB7FF (--fc-dark-accent).

States

States
StateHow it looks
restThe still Balance mark, then the outlined wordmark, 9px apart, in one link.
entrancePlays once per tab when script runs, over 3130ms. It needs script, so this site shows the end state, the still mark.
no motionReduced motion, no script, blocked storage and every later visit in the tab show the still mark.
hovernot written in the component. A caller sets it on the link, as the docs header does.
focusThe global 2px focus ring with a 2px gap.
narrow rownot written in the component. A header too narrow for the wordmark hides it with its own style (decision 0104).

Props

Import from @repo/ui/brand/logo-lockup.

Props
PropTypeDefaultWhat it does
labelstringdefault requiredThe accessible name, "Fair Case". Both drawings are hidden from assistive technology, so the name is the link's text.
markClassNamestring | undefinedThe mark's fill classes. The default is the light blue on light pages and the dark blue on dark pages; a header on a fixed dark bar passes its own.
classNamestringExtra classes on the link.
hrefstringdefault "/"Where the link goes. The default is home.
langstring | undefinedThe language of the name, such as en for the brand name on another language's page. It goes on the name itself.
...restOmit<ComponentProps<"a">, "children">The other anchor props.

Use it well

  • Pass label. It is the link's only text, so without it the link has no name.

  • Use one tone per surface: the light blue on light pages, the dark blue on dark pages. A permanently dark header passes the dark blue through markClassName.

  • Keep 10.5px clear on every side of the lockup, and never stretch the mark.

  • The mark comes before the wordmark, even on right-to-left pages; the link sets dir=ltr on itself.