Responsive Type System
Build a connected six-role typography scale instead of adjusting one text sample. Set the viewport interval, body size at each end, modular ratios, line height and reading measure. The tool checks role ordering and minimum small-text size, calculates sizes at the ends and midpoint, and exports CSS clamp tokens with rem bounds and a vw interpolation term. A 100–200% preview illustrates larger root text; confirm real browser zoom and reflow in your own layout.
Key features
- Six linked roles from small text through heading 1
- Viewport-bound CSS clamp with rem endpoints and vw interpolation
- Boundary and midpoint font-size table
- Configurable unitless line height and character-based reading measure
- Width and enlarged-text preview plus CSS copy/download
How to use
- Enter minimum and maximum viewport widths and body font sizes in pixels.
- Choose mobile and desktop modular ratios, line height and reading measure.
- Review the role size table at the bounds and midpoint.
- Resize the preview and inspect the 100–200% enlarged-text simulation.
- Copy or download CSS, then verify it with your actual fonts, browser zoom and content.
Use cases
- Design a consistent heading hierarchy for a blog
- Check mobile-to-desktop body and heading growth
- Export type variables for a design system
Frequently asked questions
What does the ratio control?
It multiplies the body size for each higher role and divides it for small text. Different ratios at the two viewport bounds let the hierarchy widen or narrow across screen sizes.
Are sizes outside the configured viewport range extrapolated?
No. CSS clamp holds each role at its minimum below the lower bound and at its maximum above the upper bound at the default root font setting.
Does the 200% preview guarantee accessibility?
No. It simulates a larger root text size in the sample. The rem endpoints can grow with a real root-font change, but the vw term responds to viewport width. Test your actual page at browser zoom and with long translated text.
Can I compare uploaded fonts here?
No. This tool produces a multi-viewport size system using a browser fallback font in the preview. The separate Font Preview tool compares font faces at a single chosen size.
What is the reading measure?
It sets a max-width in ch units for the sample container. Actual line length varies with the chosen font, glyphs and language; inspect the final site.
Privacy
Calculations and CSS generation run in your browser. This tool does not submit your text or settings to a server API.
Comments & questions