Click above and type to preview your own text

sans-serifVariable (opsz, wght)OFL

DM Sans

Low-contrast geometric sans intended for use at smaller text sizes.

Font settings

400
14
These settings in CSS
.dm-sans {
  font-family: "DM Sans", sans-serif;
}

Waterfall

The quick brown fox jumps over the lazy dog

The quick brown fox jumps over the lazy dog

The quick brown fox jumps over the lazy dog

The quick brown fox jumps over the lazy dog

The quick brown fox jumps over the lazy dog

The quick brown fox jumps over the lazy dog

Character set

ABCDEFGHIJKLMNOPQRSTUVWXYZ

abcdefghijklmnopqrstuvwxyz

0123456789

!@#$%&*()[]{}<>,.;:'"?/—–-+=

Paragraph

Typography is the craft of endowing human language with a durable visual form. It shapes how words are read, felt and remembered — from wayfinding on a station platform to the small print of a contract. Good type disappears into reading; great type gives a voice to the text.

Install

Google Fonts

Embed in the <head> of your HTML
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,100..1000&display=swap" rel="stylesheet">
Use DM Sans in CSS
/* <weight>: use a value from 100 to 1000 */

.dm-sans {
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
}

Fontsource

Install from npm
npm install @fontsource-variable/dm-sans
Import once in your app entry
// Supports weights 100-1000
import "@fontsource-variable/dm-sans";
Use in CSS
body {
  font-family: "DM Sans Variable", sans-serif;
}

Self-host

Google Fonts and Fontsource serve stripped builds — most OpenType features are removed. Self-hosting the original files is the only way to get the full feature set.

Download the font files from the website and serve them yourself:

Declare with @font-face
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans.woff2") format("woff2");
  font-display: swap;
}

Details

Designer
Colophon Foundry (Latin base from Poppins)
Foundry
Colophon Foundry
Licence
OFL
Format
Variable (opsz, wght)
Variable axes
opsz, wght