Skip to content
SloplessTry the picker

Signature look · kinetic-type

Variable font wave

The hero headline's weight (and width, if the font has the axis) ripples letter by letter in a slow sine wave on load and on hover, then settles. Needs a variable heading font.

Id
variable-font-wave
Cost
about 2 KB of JavaScript (gzipped), counted against the design's performance budget
Stacks
Next.js, Astro, SvelteKit, Plain HTML
Motion
Respect prefers-reduced-motion with a static fallback (shown below)

What the agent must do

  • No skill or library needed: implement it directly with a few lines of vanilla JS and font-variation-settings.
  • Use only on the hero headline, and only if the heading font is a variable font: load its full wght range (e.g. wght@100..900) from Google Fonts; if it is not variable, skip this look and say so.
  • Split the headline into per-character spans with aria-hidden, keep the full text in an aria-label (or a visually hidden copy), and lock each span's width to avoid reflow.
  • Animate font-variation-settings "wght" along a sine wave across characters for one pass on load (under 1.5 s) and while hovered; settle back to the token weight; never loop forever.
  • Under prefers-reduced-motion, render the headline at its token weight with no split and no animation.
  • Ship it as a few lines of vanilla JS (no animation library) loaded after the font is ready (document.fonts.ready).

Required skills (the agent asks before installing, per project)

Running demo, in Athletic Sport

The preview renderer's stand-in for this look on the hero of a Athletic Sport design. It shows where the look lives and how much of the screen it takes; the real effect is built with the skills above.

Northfold
  • About
  • Contact
Start a project

06

Brand & product studio

We make complicated companies simple to choose

Northfold is a 14-person studio helping manufacturers, labs and B2B teams explain what they do — and look like they mean it.

Start a projectRead case studies

Booking projects from June 2026

Desktop
Northfold
  • About
  • Contact
Start a project

Brand & product studio

We make complicated companies simple to choose

Northfold is a 14-person studio helping manufacturers, labs and B2B teams explain what they do — and look like they mean it.

Start a projectRead case studies

Booking projects from June 2026

Phone

Reduced-motion fallback

What visitors with prefers-reduced-motion: reduce must get: the same layout, no movement.

Northfold
  • About
  • Contact
Start a project

06

Brand & product studio

We make complicated companies simple to choose

Northfold is a 14-person studio helping manufacturers, labs and B2B teams explain what they do — and look like they mean it.

Start a projectRead case studies

Booking projects from June 2026

Desktop, prefers-reduced-motion: reduce
Northfold
  • About
  • Contact
Start a project

Brand & product studio

We make complicated companies simple to choose

Northfold is a 14-person studio helping manufacturers, labs and B2B teams explain what they do — and look like they mean it.

Start a projectRead case studies

Booking projects from June 2026

Phone, reduced motion