Danfo
Serif · Variable · OFL · by Afrotype, Seyi Olusanya and others · #1,869 most used
Fonts that pair with Danfo
The best fonts to pair with Danfo are Open Sans, Roboto and Google Sans. Use Danfo for headings with Open Sans, Roboto or Google Sans for body text.
Danfo 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
Danfo & Open Sans
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
The classic contrast: a serif for headlines and a sans for text. Danfo brings warmth and authority to titles, while Open Sans, with 6 weights to choose from, stays neutral and easy to read in long paragraphs.
withRobotoSuggested
Danfo & Roboto
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
The classic contrast: a serif for headlines and a sans for text. Danfo brings warmth and authority to titles, while Roboto, with 9 weights to choose from, stays neutral and easy to read in long paragraphs.
withGoogle SansSuggested
Danfo & Google Sans
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
The classic contrast: a serif for headlines and a sans for text. Danfo brings warmth and authority to titles, while Google Sans, with 4 weights to choose from, stays neutral and easy to read in long paragraphs.
withLoraSuggested
Danfo & Lora
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Two serifs, tone on tone. Danfo is the voice for headlines; Lora is a text serif built for reading. They are separated by size and weight rather than by style, which gives a bookish, understated page.
withEB GaramondSuggested
Danfo & EB Garamond
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Two serifs, tone on tone. Danfo is the voice for headlines; EB Garamond is a text serif built for reading. They are separated by size and weight rather than by style, which gives a bookish, understated page.
withAlegreyaSuggested
Danfo & Alegreya
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the …
Two serifs, tone on tone. Danfo is the voice for headlines; Alegreya is a text serif built for reading. They are separated by size and weight rather than by style, which gives a bookish, understated page.
Styles
Variable font: ELSH 0–100. 1 weight: Regular.
- 400 RegularThe quick brown fox jumps over the lazy dog.
Get the CSS for Danfo
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=Danfo&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=Danfo&display=swap');
.danfo {
font-family: "Danfo", Georgia, 'Times New Roman', serif;
}The @import goes at the top of your stylesheet. The <link> version above loads faster.
font-family: "Danfo", Georgia, 'Times New Roman', serif;Fallbacks keep text readable while Danfo downloads.
@import "tailwindcss";
@theme {
--font-display: "Danfo", Georgia, 'Times New Roman', serif;
}Then use class="font-display". Add the <link> tag from the HTML tab to load the font.
npm install @fontsource-variable/danfo
// In your entry file
import "@fontsource-variable/danfo";
/* CSS */
font-family: "Danfo Variable", Georgia, 'Times New Roman', serif;Self-hosted through Fontsource: no requests to Google, works offline and with strict privacy rules.
import { Danfo } from "next/font/google";
const danfo = Danfo({
subsets: ["latin"],
display: "swap",
});next/font self-hosts the files at build time and sets a size-adjusted fallback.
About Danfo
Danfo is an ELSH axis variable font with three main styles at 0,50, and 100. Danfo covers all of the Google SSA character set. The three styles reflect different cut-out shapes inspired by the vinyl cut-out lettering of the public transportation buses in Lagos, Nigeria.
To contribute, please see github.com/Afrotype/danfo .
Description from the font's documentation on Google Fonts.
Danfo 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 | Serif |
|---|---|
| Designers | Afrotype, Seyi Olusanya, Eyiyemi Adegbite, David Udoh, Mirko Velimirović |
| Styles | 1 (variable) |
| Weights | 400 |
| Axes | ELSH 0–100 |
| Writing systems | latin, latin ext, vietnamese |
| Languages | 938 |
| Licence | SIL Open Font License 1.1 |
| Popularity | #1,869 of 1,959 Google Fonts |
| Added | March 14, 2024 |
| Last updated | September 4, 2025 |