Click above and type to preview your own text
Inter
Workhorse UI typeface with a tall x-height, legible from small text to signage.
Font settings
.inter {
font-family: "Inter", sans-serif;
}Waterfall
The quick brown fox jumps over the lazy dog
The quick brown fox jumps over the lazy dog
The quick brown fox jumps over the lazy dog
The quick brown fox jumps over the lazy dog
The quick brown fox jumps over the lazy dog
The quick brown fox jumps over the lazy dog
Character set
ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
0123456789
!@#$%&*()[]{}<>,.;:'"?/—–-+=
Paragraph
Typography is the craft of endowing human language with a durable visual form. It shapes how words are read, felt and remembered — from wayfinding on a station platform to the small print of a contract. Good type disappears into reading; great type gives a voice to the text.
Install
Google Fonts
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,100..900&display=swap" rel="stylesheet">/* <weight>: use a value from 100 to 900 */
.inter {
font-family: "Inter", sans-serif;
font-optical-sizing: auto;
font-weight: <weight>;
}Fontsource
npm install @fontsource-variable/inter// Supports weights 100-900
import "@fontsource-variable/inter";body {
font-family: "Inter Variable", sans-serif;
}Self-host
Google Fonts and Fontsource serve stripped builds — most OpenType features (including the tabular numbers, slashed zero, open digits, discretionary ligatures, fractions, uppercase punctuation toggles on this page) are removed. Self-hosting the original files is the only way to get the full feature set.
Download the font files from GitHub and serve them yourself:
@font-face {
font-family: "Inter";
src: url("/fonts/inter.woff2") format("woff2");
font-display: swap;
}Details
- Designer
- Rasmus Andersson
- Licence
- OFL
- Format
- Variable (wght, opsz, slnt)
- Variable axes
- wght, opsz, slnt