Martian Mono
Designed by Roman Shamin, Evil Martians · Mono
A wide, distinctive monospace with weight and width axes.
Try it
Weights
- Thin 100
- Extra Light 200
- Light 300
- Regular 400
- Medium 500
- Semi Bold 600
- Bold 700
- Extra Bold 800
Characters
Supports cyrillic, cyrillic-ext, latin, latin-ext.
In use
Code, and columns of figures where every digit must line up, such as amounts.
Use this font
Self-host it with next/font, so visitors never make a request to Google.
1. Load the font
import { Martian_Mono } from "next/font/google";
export const martianMono = Martian_Mono({
subsets: ["latin", "latin-ext"],
variable: "--font-martian-mono",
display: "swap",
});2. Apply it
/* app/layout.tsx */
<html lang="en" className={martianMono.variable}>
/* app/globals.css */
@theme inline {
--font-mono: var(--font-martian-mono), ui-monospace, monospace;
}Martian Mono is under the SIL Open Font Licence 1.1: free to use, including in commercial work. If you pass the font files on, keep this notice with them: Copyright 2021 The Martian Mono Project Authors (https://github.com/evilmartians/mono)