Active theme set to Nord LightNord DarkVet LightVet DarkHealth LightHealth Dark and saved in preferences.
Copied to clipboard.


Nord Design System provides an npm package for using our webfonts. This package ships with all the necessary font files in addition to Sass, Less, and CSS for self-hosting.

Nord Webfonts

Integrating Nord Webfonts into your project is straightforward. You can start using our webfonts immediately by adding this tag to the <head> of your application:

<link rel="stylesheet" href="" integrity="sha384-1AEGQzSMNvs1eghxe2XM1/JrMGyHOKg4G/jwX//SGOgo6FRvcFx+EFDvkMqhwva5" crossorigin="anonymous" />

Once included, nothing else is required, as we ship this stylesheet with basic font-family rules for <body> and <code> elements. If you’re working on an existing codebase, there’re a few additional steps:

  1. Manually search for all font-family declarations and remove them.
  2. Remove any @font-face imports from CSS and stylesheets from <head> that load webfonts from other sources like e.g. Google Fonts.
While not recommended for normal use, you can also self-host Nord Webfonts by following the instructions below. This might be required in cases where your application is running inside a sandboxed environment or similar.

Installing Webfonts #

Before moving further with the installation, please make sure you have Node.js installed on your machine. You can install the latest version through their website.

If you’re planning on using Nord Webfonts in a project that doesn’t yet use Node Package Manager, you’ll have to first create a package.json file. To do this, run npm init and follow the steps provided. Once finished, you can install Nordhealth’s Fonts by following the instructions below.

Install using NPM #

Run in your project or website root directory (where package.json lives):

npm install @nordhealth/fonts

Install using Yarn #

Run in your project or website root directory (where package.json lives):

yarn add @nordhealth/fonts

Usage #

Nord Webfonts ships with font files and CSS to self-host them. While you can use Webpack or similar build tool to require the fonts, the easiest way is to install copyfiles NPM package and copy the files over:

npm install copyfiles --save-dev

Once installed, add a script to your package.json that copies the fonts from our package into a location you’ve specified:

"scripts": {
"copy:fonts": "copyfiles --flat node_modules/@nordhealth/fonts/lib/* src/SPECIFY_YOUR_PATH"

You can call this script while starting up your app to make sure you’ve always got the latest fonts copied over. If you're using an UNIX-like environment, you can use & as the separator:

"start": "copy:fonts & dev"

Otherwise, if you need a cross-platform solution, use npm-run-all module:

"start": "npm-run-all copy:fonts dev"

Import in SCSS #

Once you have fonts installed, you can import them in your project. Nord Webfonts provides both SCSS and Less helpers to do this. To import the fonts in SCSS, include this in the beginning of your main SCSS partial:

// Sets correct path to font files
$nord-font-path: "/assets/fonts";

// Import fonts
@import "../../node_modules/@nordhealth/fonts/lib/fonts.scss";

You may need to edit the paths shown above depending on your setup. If you’re using Webpack, you can further simplify the above to:

// Sets correct path to font files
$nord-font-path: "/assets/fonts";

// Import fonts
@import "~@nordhealth/fonts/lib/fonts.scss";

Nord Webfonts also provides a way to control the font loading technique using CSS font-display. This allows you to adjust the load performance of your app:

// Change the font loading technique
// auto, block, swap, fallback, optional
$nord-font-display: auto;
When you’ve imported the fonts in your project, you should use the font-families and font-weights defined in Design Tokens as its API and naming conventions match the ones used in Nord’s Webfonts package.

Import in Less #

To import fonts in Less, include this in the beginning of your main Less partial:

// Sets correct path to font files
@nord-font-path: "/assets/fonts";

// Import fonts
@import "../../node_modules/@nordhealth/fonts/lib/fonts.less";

Import in CSS #

You can also import fonts in plain CSS directly from a CDN. Include this in the beginning of your head:

<link rel="stylesheet" href="" integrity="sha384-1AEGQzSMNvs1eghxe2XM1/JrMGyHOKg4G/jwX//SGOgo6FRvcFx+EFDvkMqhwva5" crossorigin="anonymous" />

Developing webfonts #

The webfonts package in Nord Design System can be found under packages/fonts. It utilizes SCSS, Less, and CSS files. The included Nordhealth Sans is based on a font called Inter, while the Nordhealth Mono is based on Roboto Mono. All typefaces included are in a Variable Fonts format.

The following are the most commonly used commands during development:

Can I use Nord Webfonts in my own project? #

Nord Design System is solely meant for building digital products and experiences for Nordhealth. Please see the terms of use for full license details.

Getting support #

Need help with our webfonts? Please head over to the Support page for more guidelines and ways to contact us.

Edit page