Fragment Mono
Monospace · 2 styles · OFL · by Wei Huang, URW Design Studio · #642 most used
Fonts that pair with Fragment Mono
The best fonts to pair with Fragment Mono are Open Sans, Roboto and Google Sans. Use Fragment Mono for headings with Open Sans, Roboto or Google Sans for body text.
Fragment Mono 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
Fragment Mono & Open Sans
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Fragment Mono 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
Fragment Mono & Roboto
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Fragment Mono 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
Fragment Mono & Google Sans
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Fragment Mono 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
Fragment Mono & Lora
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Fragment Mono 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
Fragment Mono & EB Garamond
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Fragment Mono 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
Fragment Mono & Alegreya
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Fragment Mono gives headlines a technical, typewriter edge. Alegreya is a serif that reads comfortably at paragraph sizes, so the page feels built rather than coded.
Styles
1 weight with italics: Regular.
- 400 Regularconst pair = { heading, body }; // 0O 1lI
- 400 Regular Italicconst pair = { heading, body }; // 0O 1lI
Get the CSS for Fragment Mono
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=Fragment+Mono:ital,wght@0,400;1,400&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=Fragment+Mono:ital,wght@0,400;1,400&display=swap');
.fragment-mono {
font-family: "Fragment Mono", ui-monospace, Menlo, Consolas, monospace;
}The @import goes at the top of your stylesheet. The <link> version above loads faster.
font-family: "Fragment Mono", ui-monospace, Menlo, Consolas, monospace;Fallbacks keep text readable while Fragment Mono downloads.
@import "tailwindcss";
@theme {
--font-display: "Fragment Mono", ui-monospace, Menlo, Consolas, monospace;
}Then use class="font-display". Add the <link> tag from the HTML tab to load the font.
npm install @fontsource/fragment-mono
// In your entry file
import "@fontsource/fragment-mono/400.css";
/* CSS */
font-family: "Fragment Mono", ui-monospace, Menlo, Consolas, monospace;Self-hosted through Fontsource: no requests to Google, works offline and with strict privacy rules.
import { Fragment_Mono } from "next/font/google";
const fragmentMono = Fragment_Mono({
subsets: ["latin"],
weight: ["400"],
display: "swap",
});next/font self-hosts the files at build time and sets a size-adjusted fallback.
About Fragment Mono
Fragment Mono is a monospaced coding version of Helvetica created by modifying and extending Nimbus Sans by URW Design Studio. Fragment Mono is designed by Wei Huang based on Nimbus Sans by URW Design Studio, based on Helvetica by Max Miedinger. To contribute, see github.com/weiweihuanghuang/fragment-mono/
Description from the font's documentation on Google Fonts.
Fragment Mono 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 | Wei Huang, URW Design Studio |
| Styles | 2, with italics |
| Weights | 400 |
| Writing systems | cyrillic ext, latin, latin ext |
| Languages | 429 |
| Licence | SIL Open Font License 1.1 |
| Popularity | #642 of 1,959 Google Fonts |
| Added | October 23, 2022 |
| Last updated | September 8, 2025 |