cue

data-cue-hover

Hover

Responses to the pointer and to keyboard focus. Their own attribute, so they combine with an entrance and with each other.

Lift

Rises 3px with a shadow on hover and on keyboard focus (or focus inside it). Combines with tilt.

<a class="card" href="…" data-cue-hover="lift">…</a>

Underline

An underline draws in from the left on hover and keyboard focus. For navigation, menus and buttons; links in running text should keep their ordinary underline.

<a href="/pricing/" data-cue-hover="underline">Pricing</a>

Magnetic

A button drifts towards the pointer, at most 10px, and settles back. Mouse and trackpad only.

<a class="button" href="…" data-cue-hover="magnetic">…</a>

Tilt

A card leans up to 4°, the part under the pointer coming towards you. Mouse and trackpad only.

<article data-cue-hover="tilt lift">…</article>

Spotlight

A soft light in a brand colour follows the pointer inside a card, behind its content; keyboard focus inside shows it centred.

<article data-cue-hover="spotlight" data-cue-color="accent">…</article>