Xerobi Fonts

About & docs

Xerobi Fonts is one npm package, @xerobi/fonts, that self-hosts open-source web fonts. Every family is a subpath.

Install with bun add @xerobi/fonts, then import a family (@import "@xerobi/fonts/inter";), a weight (/inter/700.css), an italic (/inter/400-italic.css), a subset (/inter/latin-400.css) or the variable build (/inter/variable). Only woff2 is shipped, and browsers fetch a file only when a page uses its characters.

All fonts are open source under the SIL Open Font License 1.1; font binaries come from the Google Fonts project via Fontsource. Source and issues: GitHub.