Typography

A library of free fonts that live inside Prism, each under the SIL Open Font License, so any project or brand can use them, commercial work included. Browse and preview them, pick a tested pairing, build a type scale that grows smoothly with the screen, and take the CSS home.

Font library

31 free fonts, all under the SIL Open Font License 1.1: free for any site or product, commercial included. They are served from Prism itself, so no visitor data goes to a font service.

31 fonts shown.

Pairings

A heading font and a body font that work together, and why. Try one to see it in the type scale.

Type scale

Every size grows smoothly from a phone to a wide screen, with no jumps, and still grows when people zoom.

Ratio on large screens
Body size on large screens

The test adds the spacing some readers set for themselves: taller lines, wider letters and words, more room between paragraphs. Good type keeps working.

Specimen

Type that reads

A heading for a section

A lead paragraph sets the scene in a size between the headings and the text, so the eye has a gentle way in.

Comfort is the point

Body text is where people spend their time. Lines of about 66 characters, a generous line height, and a size that never drops below 16 pixels keep reading easy, on a phone or a wide screen. Numbers like 1,280 and 3.75 should be easy to tell apart, and so should Il1 and O0.

A second paragraph shows the space between them, and how the voice of Fraunces for headings sits with Inter for text.

A caption, the smallest step, for notes and credits.

Type scale steps
StepOn a phoneOn a wide screenLine height
Caption13.3 px14.4 px1.45
Body16 px18 px1.6
Lead19.2 px22.5 px1.5
Heading 423 px28.1 px1.35
Heading 327.6 px35.2 px1.25
Heading 233.2 px43.9 px1.15
Heading 139.8 px54.9 px1.1
Display47.8 px68.7 px1.05

Reading settings

Take it home

The scale and fonts you chose, as CSS, as design tokens, and how to self host the two fonts.

ReadyAny website, Shopify, WordPress, Square, plain hosting

/* Prism fluid type scale. Sizes grow smoothly from 320 to 1280 pixel screens. */
:root {
  --font-display: "Fraunces Variable", Georgia, serif;
  --font-ui: "Inter Variable", system-ui, sans-serif;
  --text-caption: clamp(0.8333rem, 0.8111rem + 0.111vw, 0.9rem);
  --leading-caption: 1.45;
  --text-body: clamp(1rem, 0.9583rem + 0.208vw, 1.125rem);
  --leading-body: 1.6;
  --text-lead: clamp(1.2rem, 1.1312rem + 0.344vw, 1.4063rem);
  --leading-lead: 1.5;
  --text-h4: clamp(1.44rem, 1.3341rem + 0.53vw, 1.7578rem);
  --leading-h4: 1.35;
  --text-h3: clamp(1.728rem, 1.5716rem + 0.782vw, 2.1973rem);
  --leading-h3: 1.25;
  --text-h2: clamp(2.0736rem, 1.8493rem + 1.122vw, 2.7466rem);
  --leading-h2: 1.15;
  --text-h1: clamp(2.4883rem, 2.1734rem + 1.575vw, 3.4332rem);
  --leading-h1: 1.1;
  --text-display: clamp(2.986rem, 2.5508rem + 2.176vw, 4.2915rem);
  --leading-display: 1.05;
  --measure: 66ch;
}

body { font: 400 var(--text-body)/var(--leading-body) var(--font-ui); }
h1, h2, h3, h4 { font-family: var(--font-display); text-wrap: balance; }
h1 { font-size: var(--text-h1); line-height: var(--leading-h1); }
h2 { font-size: var(--text-h2); line-height: var(--leading-h2); }
h3 { font-size: var(--text-h3); line-height: var(--leading-h3); }
h4 { font-size: var(--text-h4); line-height: var(--leading-h4); }
p, li { max-width: var(--measure); text-wrap: pretty; }
small, figcaption { font-size: var(--text-caption); line-height: var(--leading-caption); }

Licenses: every font here is SIL OFL 1.1. The full list with each font's copyright and the license text is at licenses/fonts.txt.