Fluid Type System
Generate a complete responsive type system — clamp() values for every step in a modular scale across your min and max viewport breakpoints.
What this fluid type system does
This fluid type system generator produces clamp() CSS for every step in a modular scale across your minimum and maximum viewport widths. Build a complete responsive typography system without manual breakpoint math.
How to use it
- Set min and max viewport widths matching your layout breakpoints.
- Configure base font size and modular scale ratio.
- Review clamp() values for each scale step from caption to display.
- Copy the complete CSS output into your stylesheet or tokens.
- Read the Responsive Typography guide for strategy and best practices.
For deeper context, read the Responsive & Fluid Typography Guide chapter in the Typography Master guide.
Frequently asked questions
- How is a fluid type system different from a single clamp() rule?
- A fluid type system applies clamp() to every step in your modular scale, keeping proportional relationships between headings, body, and captions as viewports change.
- What minimum font size should fluid body text use?
- Never let body text drop below 16px at the minimum viewport. Set your clamp() minimum to at least 1rem regardless of how aggressively headlines scale down.