Lilex
Monospace · Variable · OFL · by Mike Abbink, Paul van der Laan and others · #1,760 most used
Fonts that pair with Lilex
The best fonts to pair with Lilex are Open Sans, Roboto and Google Sans. Use Lilex for headings with Open Sans, Roboto or Google Sans for body text, or set Lilex as body text under Nunito or Anton headings.
Lilex for headings, each of these for body text. Curated pairings were chosen by hand; Suggested ones come from the pairing rules. How to use this page
withOpen SansSuggested
Lilex & Open Sans
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Lilex gives headlines a technical, typewriter edge. Open Sans is a sans-serif that reads comfortably at paragraph sizes, so the page feels built rather than coded.
withRobotoSuggested
Lilex & Roboto
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Lilex gives headlines a technical, typewriter edge. Roboto is a sans-serif that reads comfortably at paragraph sizes, so the page feels built rather than coded.
withGoogle SansSuggested
Lilex & Google Sans
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Lilex gives headlines a technical, typewriter edge. Google Sans is a sans-serif that reads comfortably at paragraph sizes, so the page feels built rather than coded.
withLoraSuggested
Lilex & Lora
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Lilex gives headlines a technical, typewriter edge. Lora is a serif that reads comfortably at paragraph sizes, so the page feels built rather than coded.
withEB GaramondSuggested
Lilex & EB Garamond
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Lilex gives headlines a technical, typewriter edge. EB Garamond is a serif that reads comfortably at paragraph sizes, so the page feels built rather than coded.
withAlegreyaSuggested
Lilex & Alegreya
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Lilex gives headlines a technical, typewriter edge. Alegreya is a serif that reads comfortably at paragraph sizes, so the page feels built rather than coded.
Headings for Lilex body text
Lilex reads well in paragraphs. These heading fonts give it hierarchy.
Nunito
const pair = { heading, body }; // 0O 1lI
Nunito + Lilex
Anton
const pair = { heading, body }; // 0O 1lI
Anton + Lilex
Changa One
const pair = { heading, body }; // 0O 1lI
Changa One + Lilex
Lilita One
const pair = { heading, body }; // 0O 1lI
Lilita One + Lilex
Abril Fatface
const pair = { heading, body }; // 0O 1lI
Abril Fatface + Lilex
Hammersmith One
const pair = { heading, body }; // 0O 1lI
Hammersmith One + Lilex
Styles
Variable font: wght 100–700. 7 weights with italics: Thin, ExtraLight, Light, Regular, Medium, SemiBold, Bold.
- 100 Thinconst pair = { heading, body }; // 0O 1lI
- 200 ExtraLightconst pair = { heading, body }; // 0O 1lI
- 300 Lightconst pair = { heading, body }; // 0O 1lI
- 400 Regularconst pair = { heading, body }; // 0O 1lI
- 500 Mediumconst pair = { heading, body }; // 0O 1lI
- 600 SemiBoldconst pair = { heading, body }; // 0O 1lI
- 700 Boldconst pair = { heading, body }; // 0O 1lI
- 100 Thin Italicconst pair = { heading, body }; // 0O 1lI
- 200 ExtraLight Italicconst pair = { heading, body }; // 0O 1lI
- 300 Light Italicconst pair = { heading, body }; // 0O 1lI
- 400 Regular Italicconst pair = { heading, body }; // 0O 1lI
- 500 Medium Italicconst pair = { heading, body }; // 0O 1lI
- 600 SemiBold Italicconst pair = { heading, body }; // 0O 1lI
- 700 Bold Italicconst pair = { heading, body }; // 0O 1lI
Get the CSS for Lilex
Pick how you load fonts. The Google Fonts link is the quickest; the npm and Next.js options self-host the files. Which one should I use?
<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=Lilex:ital,wght@0,100..700;1,100..700&display=swap" rel="stylesheet">Paste in <head>. Loads every weight; remove the ones you do not use from the URL to save bytes.
@import url('https://fonts.googleapis.com/css2?family=Lilex:ital,wght@0,100..700;1,100..700&display=swap');
.lilex {
font-family: "Lilex", ui-monospace, Menlo, Consolas, monospace;
}The @import goes at the top of your stylesheet. The <link> version above loads faster.
font-family: "Lilex", ui-monospace, Menlo, Consolas, monospace;
/* Headings */
h1, h2, h3 {
font-family: "Lilex", ui-monospace, Menlo, Consolas, monospace;
font-weight: 700;
}Fallbacks keep text readable while Lilex downloads.
@import "tailwindcss";
@theme {
--font-sans: "Lilex", ui-monospace, Menlo, Consolas, monospace;
}Then use class="font-sans". Add the <link> tag from the HTML tab to load the font.
npm install @fontsource-variable/lilex
// In your entry file
import "@fontsource-variable/lilex";
/* CSS */
font-family: "Lilex Variable", ui-monospace, Menlo, Consolas, monospace;Self-hosted through Fontsource: no requests to Google, works offline and with strict privacy rules.
import { Lilex } from "next/font/google";
const lilex = Lilex({
subsets: ["latin"],
display: "swap",
});next/font self-hosts the files at build time and sets a size-adjusted fallback.
About Lilex
Lilex is a free monospace Google Font by Mike Abbink and Paul van der Laan, a variable font. It covers the cyrillic, cyrillic ext, greek, latin, latin ext, symbols2, vietnamese writing systems and was added to Google Fonts in December 2025.
Lilex is free for commercial and personal use under the SIL Open Font License 1.1: on the web, in apps and in print, with no attribution needed on the finished work. Only selling the font files themselves is not allowed.
| Category | Monospace (sans serif) |
|---|---|
| Designers | Mike Abbink, Paul van der Laan, Pieter van Rosmalen, Mikhael Khrustik |
| Styles | 14, with italics (variable) |
| Weights | 100, 200, 300, 400, 500, 600, 700 |
| Axes | wght 100–700 |
| Writing systems | cyrillic, cyrillic ext, greek, latin, latin ext, symbols2, vietnamese |
| Languages | 547 |
| Licence | SIL Open Font License 1.1 |
| Popularity | #1,760 of 1,959 Google Fonts |
| Added | December 8, 2025 |
| Last updated | December 10, 2025 |