IBM Plex Mono is an international typeface used to show code snippets.
Monospace fonts tend to evoke typewriters because of their blocky, non-proportional spacing and characters, but they’re a great choice for any designer who wants to create a sparse, minimalist feel.
Early computers had limited graphical capabilities, so monospace fonts were used out of necessity: these days they’re widely used by programmers because they’re more readable than proportional fonts.
Proportional spacing allows monospace fonts to represent things visually, not just textually: they’re used in poetry, guitar tablature, and even biochemistry to create visual pictures or measure time.
Many well-known fonts are monospace, including Courier, Courier New, Lucida Console, and Inconsolata. You can also download free monospace font pairings including Apercu, Roboto, and IBM Flex.