A modular type scale multiplies a base size by a fixed ratio for each step up and divides by it for each step down. Small ratios like the major second (1.125) suit dense interfaces; larger ones like the perfect fourth (1.333) or golden ratio (1.618) give more dramatic headings.
Set the base size, choose a ratio (or enter a custom one), and pick how many steps to generate above and below the base. The preview renders your text at every step, and the output is a :root block of custom properties named --step-N. Output in rem assumes a 16px root size.
For headings that should also shrink on small screens, pair a step with the clamp() generator: use a smaller scale’s value as the minimum and a larger scale’s value as the maximum.