About Ubuntu Mono
Ubuntu Mono is a monospace typeface published by Google Fonts. Its listed license is UFL-1.0. Free availability does not necessarily mean the font is open source. Check the publisher’s license and distribution details before embedding or redistributing files.
Font Weights & Styles
This typeface includes 4 styles. The available weights are: 400, 700.
Installation
Install the available font package for Ubuntu Mono:
npm install @fontsource/ubuntu-monoLoad the supported webfont styles and apply the family:
@import url('https://fonts.googleapis.com/css2?family=Ubuntu%20Mono:wght@400;700&display=swap');
body {
font-family: 'Ubuntu Mono', monospace;
}Recommended Font Pairings
Try these contrasting families with Ubuntu Mono. Compare them at the sizes used in your interface, especially body text and code:
- Inter (Sans) — Code Accent + Neutral UI: Balances monospaced syntax with hyper-legible interface text.
- Satoshi (Sans) — Fixed-Width + Modernist Sans: Clean modernist geometry for headings and navigation.
- Space Grotesk (Display) — Code Body + Tech Display: Future-forward tech aesthetic for developer platforms.
Related Tools
- Icon Library — Pair Ubuntu Mono with vector icons.
- Image Resizer — Pad images for social media covers.
- JWT Decoder — Inspect client tokens without data leaks.