Xanh Mono
Monospace · 2 styles · OFL · by Yellow Type, Lâm Bảo and others · #946 most used
Fonts that pair with Xanh Mono
The best fonts to pair with Xanh Mono are Open Sans, Roboto and Google Sans. Use Xanh Mono for headings with Open Sans, Roboto or Google Sans for body text.
Xanh 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
Xanh Mono & Open Sans
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Xanh 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
Xanh Mono & Roboto
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Xanh 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
Xanh Mono & Google Sans
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Xanh 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
Xanh Mono & Lora
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Xanh 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
Xanh Mono & EB Garamond
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Xanh 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
Xanh Mono & Alegreya
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Xanh 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 Xanh 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=Xanh+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=Xanh+Mono:ital,wght@0,400;1,400&display=swap');
.xanh-mono {
font-family: "Xanh Mono", ui-monospace, Menlo, Consolas, monospace;
}The @import goes at the top of your stylesheet. The <link> version above loads faster.
font-family: "Xanh Mono", ui-monospace, Menlo, Consolas, monospace;Fallbacks keep text readable while Xanh Mono downloads.
@import "tailwindcss";
@theme {
--font-display: "Xanh 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/xanh-mono
// In your entry file
import "@fontsource/xanh-mono/400.css";
/* CSS */
font-family: "Xanh Mono", ui-monospace, Menlo, Consolas, monospace;Self-hosted through Fontsource: no requests to Google, works offline and with strict privacy rules.
import { Xanh_Mono } from "next/font/google";
const xanhMono = Xanh_Mono({
subsets: ["latin"],
weight: ["400"],
display: "swap",
});next/font self-hosts the files at build time and sets a size-adjusted fallback.
About Xanh Mono
Xanh Mono is a mono-serif typeface, designed by Lam Bao and Duy Dao. In Vietnamese, “Xanh” has a lot of meanings, including blue; green; young; etc. We believe that Xanh Mono will not only present a fresh and gentle look, but also a stylish and unique approach for both reading and display purposes.
Xanh Mono là một mặt chữ mono có chân, được thiết kế bởi Lâm Bảo và Duy Đào từ xưởng đúc chữ kĩ thuật số đầu tiên tại Việt Nam, còn được biết đến là Yellow Type Foundry. Xanh Mono theo sự lắng đọng, nhẹ nhàng nhưng vẫn đủ cá tính để vừa sử dụng cho trải nghiệm đọc và tiêu đề lớn.Bảo và Duy hy vọng Xanh Mono sẽ là sự lựa chọn phông chữ tuyệt vời dành cho bạn. To contribute see https://github.com/yellow-type-foundry/xanhmono .
Description from the font's documentation on Google Fonts.
Xanh 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 |
|---|---|
| Designers | Yellow Type, Lâm Bảo, Duy Dao |
| Styles | 2, with italics |
| Weights | 400 |
| Writing systems | latin, latin ext, vietnamese |
| Languages | 458 |
| Licence | SIL Open Font License 1.1 |
| Popularity | #946 of 1,959 Google Fonts |
| Added | August 10, 2020 |
| Last updated | September 8, 2025 |