Skip to content
DEVPANTRY.COM

Inconsolata

Monospace

By Google Fonts • Publisher: Google Fonts

8 styles available•Weights: 200, 300, 400, 500, 600, 700, 800, 900•Variable Font Support
Live Type Tester
SIZE:36px
WEIGHT:
TRACKING:0px

Styles & Weights Specimen

Weight 200
ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789
Weight 300
ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789
Weight 400
ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789
Weight 500
ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789
Weight 600
ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789
Weight 700
ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789
Weight 800
ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789
Weight 900
ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz 0123456789

Quick Integration Snippets

CSS @import
@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@200;300;400;500;600;700;800;900&display=swap');

body {
  font-family: 'Inconsolata', monospace;
}
NPM Package
npm install @fontsource/inconsolata
HTML <link> tag
<link href="https://fonts.googleapis.com/css2?family=Inconsolata:wght@200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">
Tailwind CSS v3 Config
// Tailwind CSS v3: tailwind.config.js
module.exports = {
  theme: {
    extend: {
      fontFamily: {
        "inconsolata": ["Inconsolata","monospace"],
      },
    },
  },
};
Tailwind CSS v4 Theme
/* Tailwind CSS v4: add after your font stylesheet imports */
@theme {
  --font-inconsolata: 'Inconsolata', monospace;
}

Recommended Typography Pairings

Contrast & Hierarchy

Pairing Inconsolata with high-contrast complementary typefaces creates strong visual hierarchy between headlines, interface body copy, and code blocks.

About Inconsolata

Inconsolata 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 8 styles. The available weights are: 200, 300, 400, 500, 600, 700, 800, 900.

Installation

Install the available font package for Inconsolata:

npm install @fontsource/inconsolata

Load the supported webfont styles and apply the family:

@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@200;300;400;500;600;700;800;900&display=swap');

body {
  font-family: 'Inconsolata', monospace;
}

Recommended Font Pairings

Try these contrasting families with Inconsolata. 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