About Fira Code
Fira Code is a monospace typeface published by Nikita Prokopov (tonsky). Its listed license is SIL 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 5 styles. The available weights are: 300, 400, 500, 600, 700.
Installation
Install the available font package for Fira Code:
npm install @fontsource/fira-codeLoad the supported webfont styles and apply the family:
@import url('https://fonts.googleapis.com/css2?family=Fira%20Code:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Fira Code', monospace;
}Recommended Font Pairings
Try these contrasting families with Fira Code. Compare them at the sizes used in your interface, especially body text and code:
- Inter (Sans) — Ligature Code + UI Shell: Standard pairing for programming tutorials, blogs, and code viewports.
- Satoshi (Sans) — Monospace + Geometric Heading: Sleek contemporary look for developer tools and CLI landing pages.
Related Tools
- Icon Library — Pair Fira Code with vector icons.
- Image Resizer — Pad images for social media covers.
- JWT Decoder — Inspect client tokens without data leaks.