Skip to main content
Context GrammarContext-aware AI

Card

No lift and no shadow. The border darkens and four registration marks appear at the corners.

Variant

Hover me

The border darkens and four registration marks appear. Nothing lifts.

Open

Controls

▾

Code

import {  } from "app/globals.css (.card-blueprint)";

<div className="card-blueprint border border-line bg-surface p-5">
  <p className="font-label text-meta text-ink">Hover me</p>
  <p className="font-body text-meta text-ink-2">The border darkens and four registration marks appear. Nothing lifts.</p>
</div>

Every state

Hover me

The border darkens and four registration marks appear. Nothing lifts.

Open

Tab into me

The border darkens and four registration marks appear. Nothing lifts.

Open

Forced hover

The border darkens and four registration marks appear. Nothing lifts.

Open

Usage

Do

  • Make the whole card one link to one place.

Don’t

  • Don’t add a shadow or lift on hover; the registration marks are the answer.

Tokens it uses

Tokens it uses
--surface…
--line…
--ink…
--ink-2…
--dur-quick…

Values are read live from the stylesheet, so they follow the site theme.

Spec

Trigger
Hover
Duration
--dur-quick 160ms
Reduced motion
The border and the marks change at once.

Used in