About M PLUS 1 Code
M PLUS 1 Code is a monospace typeface published by Google Fonts. Its listed license is OFL-1.1. It is distributed under the SIL Open Font License. Check the publisher’s license and distribution details before embedding or redistributing files.
Font Weights & Styles
This typeface includes 7 styles. The available weights are: 100, 200, 300, 400, 500, 600, 700.
Installation
Install the available font package for M PLUS 1 Code:
npm install @fontsource/m-plus-1-codeLoad the supported webfont styles and apply the family:
@import url('https://fonts.googleapis.com/css2?family=M%20PLUS%201%20Code:wght@100;200;300;400;500;600;700&display=swap');
body {
font-family: 'M PLUS 1 Code', monospace;
}Recommended Font Pairings
Try these contrasting families with M PLUS 1 Code. 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 M PLUS 1 Code with vector icons.
- Image Resizer — Pad images for social media covers.
- JWT Decoder — Inspect client tokens without data leaks.