Skip to content
Fluid Typography

Fluid Typography

v1.1

Generate a responsive type scale that flexes with the viewport. Pick a musical ratio for the smallest and largest screens, and every step gets its own clamp() — scrub the preview below to see it update live.

Runs locally — nothing leaves your browser.

Controls
viewport range (px)
Base size — step 0 (px)
Min-viewport ratio
Max-viewport ratio
Steps up1–8
Steps down0–4
Root font-size (px)
Width tracking
Fluid line-height
Specimen
Preview viewport
800px
320px1280px
--step-677pxclamp(2.986rem, 1.7606rem + 6.1269vw, 6.6622rem)

The quick brown fox jumps over the lazy dog

--step-560pxclamp(2.4883rem, 1.6518rem + 4.1826vw, 4.9979rem)

The quick brown fox jumps over the lazy dog

--step-447pxclamp(2.0736rem, 1.515rem + 2.7929vw, 3.7493rem)

The quick brown fox jumps over the lazy dog

--step-336pxclamp(1.728rem, 1.3664rem + 1.8078vw, 2.8127rem)

The quick brown fox jumps over the lazy dog

--step-228pxclamp(1.44rem, 1.2166rem + 1.1168vw, 2.1101rem)

The quick brown fox jumps over the lazy dog

--step-122pxclamp(1.2rem, 1.0724rem + 0.6382vw, 1.5829rem)

The quick brown fox jumps over the lazy dog

--step-0base18pxclamp(1rem, 0.9375rem + 0.3125vw, 1.1875rem)

The quick brown fox jumps over the lazy dog

--step--114pxclamp(0.8333rem, 0.8142rem + 0.0959vw, 0.8908rem)

The quick brown fox jumps over the lazy dog

--step--211pxclamp(0.6683rem, 0.7032rem - 0.0436vw, 0.6944rem)

The quick brown fox jumps over the lazy dog

Need a single fluid value instead of a whole scale? Try clamp() Generator →

Every step gets its own independent clamp — the min and max ratios can differ, so the scale is free to widen or narrow as the viewport grows. Your settings are remembered on this device and never leave the tab.