Xerobi Fonts
/ Fonts / Playfair Display

Playfair Display

A transitional display serif with high contrast, made for elegant headlines.

6 WeightsVariableLatin + CyrillicOpen Source

Install

npm install @xerobi/fonts

Preview Type anything — it's editable

The quick brown fox jumps over the lazy dog.

Weights

AaRegular
AaMedium
AaSemiBold
AaBold
AaExtraBold
AaBlack
MultilingualSupport
AaVariable FontReady
Optimizedfor Web
Modern &Versatile

Glyph Explorer 634 glyphs

Loading glyphs…

Download

Licensed under OFL-1.1 — free for personal and commercial use. The license is included in every download.

Developer setup

1. Install
bun add @xerobi/fonts
# npm i @xerobi/fonts · pnpm add @xerobi/fonts · yarn add @xerobi/fonts
2. Import only what you need

Weights and subsets are separate files — the smaller the import, the faster the page.

@import "@xerobi/fonts/playfair-display/latin-400.css";
@import "@xerobi/fonts/playfair-display/latin-700.css";
@import "@xerobi/fonts/playfair-display/latin-400-italic.css";
@import "@xerobi/fonts/playfair-display/cyrillic-400.css";   /* cyrillic script */
3. Use it
body {
  font-family: "Playfair Display", serif;
}
h1 { font-weight: 700; }
Variable font (one file, every weight)

Axes: ital, wght.

@import "@xerobi/fonts/playfair-display/variable/latin-wght.css";

body {
  font-family: "Playfair Display Variable", serif;
  font-weight: 450; /* any value 400–900 */
}

Copyright 2017 The Playfair Display Project Authors (https://github.com/clauseggers/Playfair-Display), with Reserved Font Name "Playfair Display". PlayfairDisplay-Italic[wght].ttf: Copyright 2017 The Playfair Display Project Authors (https://github.com/clauseggers/Playfair-Display), with Reserved Font Name "Playfair Display". — licensed under OFL-1.1.