Convert Figma logo to code with AI

rsms logointer

The Inter font family

17,552
400
17,552
96

Top Related Projects

JetBrains Mono – the free and open-source typeface for developers

76,660

Free monospaced font with programming ligatures

Sans serif font family for user interface environments

3,841

The Roboto family of fonts

5,035

Mozilla's new typeface, used in Firefox OS

Quick Overview

Inter is a free and open-source font family designed for computer screens. It's specifically crafted for user interfaces with a focus on high legibility of small-to-medium sized text on computer screens. The font is highly customizable and supports a wide range of languages.

Pros

  • Optimized for screen readability, especially for small text sizes
  • Extensive language support with over 4,000 glyphs
  • Customizable features for different use cases (e.g., alternate characters, ligatures)
  • Free and open-source, allowing for widespread use and modification

Cons

  • May not be suitable for all design contexts, particularly print media
  • Large file size due to extensive glyph set and features
  • Requires some technical knowledge to fully utilize all customization options
  • Limited styles compared to some other font families (e.g., no serif or script variants)

Getting Started

To use Inter in your web project:

  1. Add the following link to your HTML <head>:
<link href="https://rsms.me/inter/inter.css" rel="stylesheet">
  1. Apply the font to your CSS:
body {
  font-family: 'Inter', sans-serif;
}

For more advanced usage, including variable fonts and self-hosting, refer to the documentation on the Inter website.

Competitor Comparisons

JetBrains Mono – the free and open-source typeface for developers

Pros of JetBrainsMono

  • Specifically designed for coding, with enhanced readability for programming languages
  • Includes ligatures for common programming symbols, improving code aesthetics
  • Offers a wider range of weights and styles, providing more flexibility in design

Cons of JetBrainsMono

  • Limited language support compared to Inter's extensive character set
  • May not be as suitable for general-purpose text or UI design
  • Larger file size due to additional programming-specific features

Code Comparison

Inter:

body {
  font-family: 'Inter', sans-serif;
  font-feature-settings: 'liga' 1, 'calt' 1;
}

JetBrainsMono:

body {
  font-family: 'JetBrains Mono', monospace;
  font-feature-settings: 'liga' 1, 'calt' 1;
}

Both fonts support OpenType features, but JetBrainsMono includes additional programming-specific ligatures that are automatically applied when enabled.

Summary

Inter is a versatile sans-serif font suitable for various applications, while JetBrainsMono is a specialized monospace font optimized for coding. Choose Inter for general-purpose design and broad language support, or JetBrainsMono for enhanced code readability and programming-specific features.

76,660

Free monospaced font with programming ligatures

Pros of FiraCode

  • Specialized for programming with ligatures for common code sequences
  • Wider range of supported languages and character sets
  • More extensive documentation and usage guidelines

Cons of FiraCode

  • Less suitable for general text and UI design
  • Fewer weight options compared to Inter
  • May require additional configuration in some IDEs to enable ligatures

Code Comparison

FiraCode:

function (x) => x * 2;
if (x !== null && x !== undefined) {
  console.log("x is defined");
}

Inter:

function (x) => x * 2;
if (x !== null && x !== undefined) {
  console.log("x is defined");
}

While the code appears identical, FiraCode would display ligatures for =>, !==, and &&, enhancing readability for programmers.

Summary

FiraCode is a specialized programming font with ligatures, offering improved code readability but with fewer weight options. Inter is a more versatile font suitable for both programming and general text, with a wider range of weights but without programming-specific ligatures. The choice between the two depends on the primary use case and personal preference for ligatures in code.

Sans serif font family for user interface environments

Pros of Source Sans

  • Extensive language support with over 2,000 glyphs
  • Multiple weights and styles, including light, extra-light, and black
  • Longer development history and more established user base

Cons of Source Sans

  • Less focus on screen readability at small sizes
  • Fewer modern features like variable font support
  • Less active community engagement and slower update cycle

Code Comparison

Source Sans (OpenType feature code):

feature liga {
    sub f i by f_i;
    sub f l by f_l;
    sub f f by f_f;
} liga;

Inter (OpenType feature code):

feature liga {
    sub f i by f_i;
    sub f l by f_l;
    sub f f by f_f;
    sub f f i by f_f_i;
    sub f f l by f_f_l;
} liga;

Both repositories provide OpenType feature code for ligatures, but Inter includes additional ligature combinations for improved typography.

Inter focuses more on modern web typography and screen readability, while Source Sans offers broader language support and a more traditional typeface design. Inter has a more active development cycle and community engagement, whereas Source Sans benefits from Adobe's extensive type design experience and established reputation in the field.

3,841

The Roboto family of fonts

Pros of Roboto

  • Wider language support with extensive character sets
  • Longer development history and more established in the design community
  • Larger variety of weights and styles available

Cons of Roboto

  • Less modern and sleek appearance compared to Inter
  • Not as optimized for screen readability at small sizes
  • Slightly less consistent spacing and kerning across different weights

Code Comparison

Inter:

body {
  font-family: 'Inter', sans-serif;
  font-feature-settings: 'cv05' 1;
}

Roboto:

body {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
}

Summary

Inter and Roboto are both popular sans-serif typefaces used in web and app design. Roboto, developed by Google, offers a wider range of language support and has been around longer. It provides more weight options but may not be as optimized for on-screen readability as Inter.

Inter, a more recent typeface, focuses on modern design principles and screen optimization. It offers excellent readability at small sizes and has a more consistent appearance across weights. However, it may not have as extensive language support as Roboto.

The choice between these two fonts often comes down to specific project requirements, target audience, and personal design preferences.

5,035

Mozilla's new typeface, used in Firefox OS

Pros of Fira

  • Wider range of font styles and weights, including mono and code variants
  • Longer development history and more established user base
  • Designed specifically for Mozilla products, ensuring compatibility

Cons of Fira

  • Less frequent updates and maintenance compared to Inter
  • May not be as optimized for modern screen displays as Inter
  • Fewer language support options and OpenType features

Code Comparison

While both fonts are primarily used for display purposes rather than in code, here's a comparison of how they might be implemented in CSS:

Fira:

body {
  font-family: 'Fira Sans', sans-serif;
  font-weight: 400;
}

Inter:

body {
  font-family: 'Inter', sans-serif;
  font-feature-settings: 'cv05' 1;
}

Note that Inter uses font-feature-settings to enable specific OpenType features, which is less common in Fira implementations.

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

Inter

Inter is a typeface carefully crafted & designed for computer screens. Inter features a tall x-height to aid in readability of mixed-case and lower-case text. Inter is a variable font with several OpenType features, like contextual alternates that adjusts punctuation depending on the shape of surrounding glyphs, slashed zero for when you need to disambiguate "0" from "o", tabular numbers, etc.

Download Inter font files…


Sample

Quick questions

  • Where can I get Inter? Here
  • I think I found a bug. How can I let you know? Open an issue here
  • I have a question. Where can I get help? Post in Discussions Q&A
  • Should I use Inter from Google Fonts? No, unless you have no other choice. (outdated, no italics)
  • Can I legally use Inter for my purpose? Most likely yes! Inter is free and open source. (Read the license for details.)

Using & installing Inter

Download the latest font files…

Using Inter on a web page:

<link rel="preconnect" href="https://your-font-file-host/">
<link rel="stylesheet" href="https://your-font-file-host/inter.css">
:root { font-family: 'Inter', sans-serif; }
@supports (font-variation-settings: normal) {
  :root { font-family: 'Inter var', sans-serif; }
}

For web pages, there's an official CDN distribution that you can use directly without having to host the font files yourself:

<link rel="preconnect" href="https://rsms.me/">
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">

Alternate distributions

Disclaimer: Alternate distributions may not always be up-to-date.

Derivative versions

Notable projects using Inter

Have you made something nice with Inter?
Please share in Show & Tell! →

Supporters & contributors

A wholehearted Thank You to everyone who supports the Inter project!

Special thanks to @thundernixon and @KatjaSchimmel who have put in significant effort into making Inter what it is through their contributions ♡

See graphs/contributors for a complete list of all contributors.

Contributing to this project

For instructions on how to work with the source files and how to compile & build font files, refer to CONTRIBUTING.md.

Inter is licensed under the SIL Open Font License

Creating derivative fonts

Inter is open source which means you can make your own versions with your own changes. However when doing so, please read LICENSE.txt carefully. It is a standard SIL Open Font License 1.1:

The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others.

The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives.

While you are allowed to use Inter commercially, i.e. bundled with product or service which makes you money, you are NOT allowed to sell Inter itself or derivatives of Inter. If you would like to do so, please reach out and we can talk about it.

Inter a trademark of Rasmus Andersson (DBA: RSMS)

"Inter" is a Reserved Font Name by Rasmus Andersson (font vendor code RSMS.)

Design

This section discusses some of the design choices made for Inter.

Inter can be classified as a geometric neo-grotesque, similar in style to Roboto, Apple San Francisco, Akkurat, Asap, Lucida Grande and more. Some trade-offs were made in order to make this typeface work really well at small sizes:

  • Early versions of Inter was not suitable for very large sizes because of some small-scale glyph optimizations (like "pits" and "traps") that help rasterization at small sizes but stand out and interfere at large sizes. However today Inter works well at large sizes and a Display subfamily is in the works for really large "display" sizes.

  • Rasterized at sizes below 12px, some stems—like the horizontal center of "E", "F", or vertical center of "m"—are drawn with two semi-opaque pixels instead of one solid. This is because we "prioritize" (optimize for) higher-density rasterizations. If we move these stems to an off-center position—so that they can be drawn sharply at e.g. 11px—text will be less legible at higher resolutions.

Inter is a variable font and is in addition also distributed as a set of traditional distinct font files in the following styles:

Roman (upright) nameItalic nameWeight
ThinThin Italic100
Extra LightExtra Light Italic200
LightLight Italic300
RegularItalic400
MediumMedium Italic500
Semi BoldSemi Bold Italic600
BoldBold Italic700
Extra BoldExtra Bold Italic800
BlackBlack Italic900

NPM DownloadsLast 30 Days