Fira Code

Classification

Font Technology

Variable Font with 1 axis
Weight (wght): 300–700

How To Use Fira Code

To use Fira Code in your web project, either search Google Fonts and use their embed code or host the font on your server and use the CSS below. Note: fonts served by Google Fonts may be missing some OpenType features that are available in the original font.
@font-face {
  font-family: 'Fira Code';
  src: url('<YOUR SERVER PATH>FiraCode[wght].ttf') format(woff2);
  font-weight: 300 700;
  font-stretch: 100%;
  font-style: normal;
}

Description

Programmers use a lot of symbols, often encoded with several characters. For the human brain, sequences like -> , <= or := are single logical tokens, even if they take two or three characters on the screen. Your eye spends a non-zero amount of energy to scan, parse and join multiple characters into a single logical one. Ideally, all programming languages should be designed with full-fledged Unicode symbols for operators, but that’s not the case yet. Fira Code is an extension of the Fira Mono font containing a set of ligatures for common programming multi-character combinations. This is just a font rendering feature: underlying code remains ASCII-compatible. This helps to read and understand code faster. For some frequent sequences like .. or // , ligatures allow us to correct spacing. To contribute, see https://github.com/tonsky/FiraCode .

Designer

The Mozilla Foundation, Telefonica S.A., Nikita Prokopov

Copyright

Copyright 2014-2020 The Fira Code Project Authors (https://github.com/tonsky/FiraCode)

OpenType Features

Related Fonts

Fira Code regular
ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
0123456789
We are such stuff as dreams are made on, and our little life is rounded with a sleep. Be not afeard; the isle is full of noises, sounds, and sweet airs that give delight and hurt not. Sometimes a thousand twangling instruments will hum about mine ears.
, : ; ? ! " “ ” ' ‘ ’ « » ′ ″ ( ) [ ] { } 〈 〉 - – — ‒ ― / | ⁄ … • · § ¶ * ~ ^ ° © ® ™
Numerals
oldstyle-nums
0123456789 0123456789
Arbitrary Fractions
diagonal-fractions
1/2 1/3 2/3 3/4 5/8 15/16 1234/5678
Fractions
default css
font-feature-settings: "frac" 1
/
/
0
0
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
9
9
Ordinals
default css
font-feature-settings: "ordn" 1
No.
No.
1a
1a
2o
2o
Stylistic alternates
default css
font-feature-settings: "salt" 1
r
r
Stylistic set 1
default css
font-feature-settings: "ss01" 1
r
r
Stylistic set 3
default css
font-feature-settings: "ss03" 1
&
&
Stylistic set 4
default css
font-feature-settings: "ss04" 1
$
$
Stylistic set 5
default css
font-feature-settings: "ss05" 1
@
@
Slashed Zero
default css
font-feature-settings: "zero" 1
0
0