Typography
One typeface, Inter, in a fixed set of type styles. The styles change size between mobile, tablet and desktop on their own, and every style supports Hausa, Yorùbá, Igbo and the naira sign.
Updated
Typeface
Inter, an open-source typeface made for screens. It’s free to use and is served from government servers, not Google Fonts.
Inter
Regular · Medium · Semi Bold
Hausa
Ɓ ɓ Ɗ ɗ Ƙ ƙ Ƴ ƴ
Yorùbá
Ẹ ẹ Ọ ọ Ṣ ṣ à á è é ò ó
Igbo
Ị ị Ụ ụ Ṅ ṅ
Naira
₦5,000 ₦1,250.50
Type scale
Twenty-nine styles in six groups. Each one is an NDS Library text style with a matching CSS variable. Sizes shown are for desktop.
Display
For campaign and landing page headlines. Rarely needed on service pages.
Apply for a passport
Apply for a passport
Apply for a passport
Headline
Page titles and the main headings on long pages.
Apply for a passport
Apply for a passport
Apply for a passport
Title
Section, sub-section and card headings.
Apply for a passport in Hausa, Yorùbá or Igbo
Apply for a passport in Hausa, Yorùbá or Igbo
Apply for a passport in Hausa, Yorùbá or Igbo
Apply for a passport in Hausa, Yorùbá or Igbo
Apply for a passport in Hausa, Yorùbá or Igbo
Apply for a passport in Hausa, Yorùbá or Igbo
Body
Running text. Body/medium is the default for content.
Apply for a passport in Hausa, Yorùbá or Igbo
Apply for a passport in Hausa, Yorùbá or Igbo
Apply for a passport in Hausa, Yorùbá or Igbo
Apply for a passport in Hausa, Yorùbá or Igbo
Apply for a passport in Hausa, Yorùbá or Igbo
Apply for a passport in Hausa, Yorùbá or Igbo
Label
Buttons, form labels, tabs and navigation.
Apply for a passport in Hausa, Yorùbá or Igbo
Apply for a passport in Hausa, Yorùbá or Igbo
Apply for a passport in Hausa, Yorùbá or Igbo
Apply for a passport in Hausa, Yorùbá or Igbo
Apply for a passport in Hausa, Yorùbá or Igbo
Apply for a passport in Hausa, Yorùbá or Igbo
Apply for a passport in Hausa, Yorùbá or Igbo
Apply for a passport in Hausa, Yorùbá or Igbo
Apply for a passport in Hausa, Yorùbá or Igbo
Utility
Captions, timestamps and small category labels.
Apply for a passport in Hausa, Yorùbá or Igbo
Apply for a passport in Hausa, Yorùbá or Igbo
Sizes by screen
Each style has a size for mobile, tablet and desktop. The Typography variables switch automatically at each breakpoint, so you pick the style, not the size.
| Style | Mobile | Tablet | Desktop | Weight |
|---|---|---|---|---|
| Display/large | 48/56 | 60/68 | 72/80 | Semi Bold |
| Display/medium | 40/48 | 48/56 | 60/68 | Semi Bold |
| Display/small | 36/44 | 40/48 | 48/56 | Semi Bold |
| Headline/large | 32/40 | 36/44 | 40/48 | Semi Bold |
| Headline/medium | 28/36 | 30/36 | 32/40 | Semi Bold |
| Headline/small | 24/32 | 26/32 | 28/36 | Semi Bold |
| Title/large | 22/28 | 24/32 | 24/32 | Semi Bold |
| Title/medium | 18/24 | 20/28 | 20/28 | Semi Bold |
| Title/small | 18/24 | 18/24 | 18/24 | Semi Bold |
| Body/large | 18/28 | 18/28 | 18/28 | Regular |
| Body/medium | 16/24 | 16/24 | 16/24 | Regular |
| Body/small | 14/20 | 14/20 | 14/20 | Regular |
| Label/large | 16/20 | 16/20 | 16/20 | Medium |
| Label/medium | 14/20 | 14/20 | 14/20 | Medium |
| Label/small | 12/16 | 12/16 | 12/16 | Medium |
| Utility/caption | 12/16 | 12/16 | 12/16 | Regular |
| Utility/overline | 12/16 | 12/16 | 12/16 | Semi Bold |
Regular and emphasized variants use the same sizes as their base style.
Nigerian languages
Inter covers every letter in Hausa, Yorùbá and Igbo, and the naira sign. Keep these rules so text stays correct in every language.
- Type the real letters
Use ɓ, ɗ, ƙ, ƴ, ẹ, ọ, ṣ, ị, ụ and ṅ. Never fake them with a full stop or apostrophe.
- Keep tone marks
Yorùbá tone marks change meaning. Don’t strip them to save space.
- Leave room
Translations can be about a third longer than English. Don’t fix the width of buttons, tabs or labels.
- Write naira as ₦
“₦5,000”, with no space. Use tabular figures in tables so amounts line up.
- Get a native check
Ask a native speaker to read new content before it goes live.
Readable text
How the styles should be used so pages are easy to read on any phone.
- Body text is 16px
Use Body/medium for content. Body/small (14px) is for supporting text only.
- Keep lines short
About 60 to 75 characters a line. On the docs site, text columns stop at 640px.
- Use sentence case
Capitalise only the first word and names. Overline is the only uppercase style.
- Emphasise with weight
Use the -emphasized body styles. Don’t use italics or underline for emphasis; underline means a link.
- Align left
Don’t centre or justify running text. It’s harder to read, especially with dyslexia.
- One H1 per page
Use Headline/large for the page title, then Title/large, Title/medium and Title/small in order. Don’t skip levels.
Code
Code samples, token names and property values on this site use JetBrains Mono. It’s only for the documentation, so it isn’t part of the NDS Library and has no token.
Accessibility
Text must stay readable when people zoom, change spacing or use their own settings.
- Pages work when text is zoomed to 200%, with nothing cut off or overlapping (WCAG 1.4.4).
- Nothing breaks when people increase line height, letter spacing or word spacing (WCAG 1.4.12). Containers grow with their text.
- Sizes are set in rem, so people’s browser font size is respected.
- Headings are real heading elements in order, not just big bold text.
- No text inside images. Use live text so it can be read aloud, translated and zoomed.
Using the tokens
The same names work in Figma, code and WordPress.
- In Figma
Apply an NDS Library text style, such as Body/medium. Never set size, weight or line height by hand.
- In code
Use the CSS variables named in each style’s description, for example
var(--nds-typography-body-medium-size)withvar(--nds-typography-body-medium-weight).- In WordPress
Blocks use the type styles already. Pick a style from the block settings; don’t type a size.
- New styles
Don’t add styles in a project. Ask the NDS team.
References
- WCAG 2.2: Resize text, 1.4.4 w3.org
- WCAG 2.2: Text spacing, 1.4.12 w3.org
- Inter typeface rsms.me
- GOV.UK Design System: Type scale design-system.service.gov.uk
Feedback
Is this page useful?