# Fontsource

[BASE product page](<https://base.akulich.dev/en/library/fontsource/>) · [Resource](<https://fontsource.org/>)

ID: fontsource · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

Open font packages for self\-hosting: connect families, weights/styles, and variable fonts through npm instead of an external CDN\.

## Type

Graphics collection

## Entry type

library

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/fontsource/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/fontsource/#resource-access>)

npm packages and self\-hosting of the available open fonts are free; retain the chosen family’s LICENSE\.

## [Paid features and costs](<https://base.akulich.dev/en/library/fontsource/#resource-access>)

Fontsource integration requires no mandatory subscription\. Paid third\-party fonts cannot automatically be treated as part of the collection; check rights for the specific file\.

## [Access and limitations](<https://base.akulich.dev/en/library/fontsource/#resource-access>)

npm packages and self\-hosting of the available open fonts are free; retain the chosen family’s LICENSE\. Fontsource integration requires no mandatory subscription\. Paid third\-party fonts cannot automatically be treated as part of the collection; check rights for the specific file\.

## [Use cases](<https://base.akulich.dev/en/library/fontsource/#resource-tasks>)

- Self\-hosting a website font
- Loading only the required styles and subsets

## Category IDs

- assets

## Subcategory IDs

- assets\.fonts

## Tags

- npm
- CSS
- WOFF2
- fonts

## Also known as

- fontsource/fontsource

## [Selection purpose](<https://base.akulich.dev/en/library/fontsource/#resource-selection>)

Self\-hosting a website font

## [Choose this when](<https://base.akulich.dev/en/library/fontsource/#resource-selection>)

- Self\-hosting a website font
- Loading only the required styles and subsets

## [Requirements](<https://base.akulich.dev/en/library/fontsource/#resource-selection>)

- Use a bundler supporting CSS imports, such as Vite or Webpack; the package and import must match the selected family\.

## [Limitations](<https://base.akulich.dev/en/library/fontsource/#resource-selection>)

- Costs and limits of free use: Fontsource integration requires no mandatory subscription\. Paid third\-party fonts cannot automatically be treated as part of the collection; check rights for the specific file\.
- Terms of use: MIT for Fontsource code; fonts retain their individual family licenses\. Check the LICENSE of the specific npm package: the tool’s general license does not replace font rights\.
- A normal import does not include italic automatically\. Check the selected font's license separately from the Fontsource tool license\.

## [Questions before use](<https://base.akulich.dev/en/library/fontsource/#resource-faq>)

### What can you use for free in Fontsource?

npm packages and self\-hosting of the available open fonts are free; retain the chosen family’s LICENSE\.

### What additional costs might arise with Fontsource?

Fontsource integration requires no mandatory subscription\. Paid third\-party fonts cannot automatically be treated as part of the collection; check rights for the specific file\.

### What terms of use matter for Fontsource?

MIT for Fontsource code; fonts retain their individual family licenses\. Check the LICENSE of the specific npm package: the tool’s general license does not replace font rights\.

### How do you get started with Fontsource?

Install the chosen family's package, check its LICENSE and supported subsets/variable axes\. Import only the required styles/subsets and apply font\-family with a suitable fallback\. Check WOFF2 loading from your own domain, Cyrillic display, and the absence of text shifts\.

### How do I reduce font file count and add the required styles through Fontsource?

A variable package applies to a variable\-font family and supports a weight range rather than separate weight files\. In a static package, an ordinary root import usually loads normal 400; additional weights and italic are imported separately\. Unicode\-range lets the browser load the required character sets\. After importing, set font\-family in CSS\.

## Sources for the selection guide

- [https://fontsource\.org/](<https://fontsource.org/>)
- [https://github\.com/fontsource/fontsource](<https://github.com/fontsource/fontsource>)
- [https://github\.com/fontsource/fontsource/blob/main/README\.md](<https://github.com/fontsource/fontsource/blob/main/README.md>)
- [https://github\.com/fontsource/fontsource/blob/main/LICENSE](<https://github.com/fontsource/fontsource/blob/main/LICENSE>)
- [https://fontsource\.org/docs/getting\-started/introduction](<https://fontsource.org/docs/getting-started/introduction>)
- [https://fontsource\.org/docs/getting\-started/install](<https://fontsource.org/docs/getting-started/install>)

## [Possible workflow](<https://base.akulich.dev/en/library/fontsource/#resource-scenario>)

Add an open font through npm and host the files on your own website\.

A possible workflow; this is not a report of hands-on testing.

## Before you start

- The selected Fontsource family, styles, languages, and specific package license\.
- A project with npm/build tooling and font\-display/fallback settings\.

## Steps

1. Install the chosen family's package, check its LICENSE and supported subsets/variable axes\.
2. Import only the required styles/subsets and apply font\-family with a suitable fallback\.
3. Check WOFF2 loading from your own domain, Cyrillic display, and the absence of text shifts\.

## Check your result

- All required characters/styles are available; the package license is retained\.
- Files are not fetched from an unnecessary external CDN; the chosen font payload is appropriate\.

## [License](<https://base.akulich.dev/en/library/fontsource/#resource-license>)

MIT for Fontsource code; fonts retain their individual family licenses\. Check the LICENSE of the specific npm package: the tool’s general license does not replace font rights\.

## License explanations for the specified scope

### MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed\-source commercial product\. When sharing copies or substantial portions of the code, retain the license text and copyright notice\. You do not need to open\-source your entire project; the author provides no warranties\.

[License terms](<https://opensource.org/license/mit>)

### Each asset has its own rights

A catalog or gallery does not grant one license for all its content\. Check code, fonts, images, models, and templates under the specific resource's license\. Studying an idea and creating your own implementation is a different use case from copying source code or assets\.

## [Sources](<https://base.akulich.dev/en/library/fontsource/#resource-sources>)

- [Official website](<https://fontsource.org/>)
- [Source code](<https://github.com/fontsource/fontsource>)
- [Documentation and use](<https://github.com/fontsource/fontsource/blob/main/README.md>)
- [License](<https://github.com/fontsource/fontsource/blob/main/LICENSE>)
- [Self\-hosting and font licenses](<https://fontsource.org/docs/getting-started/introduction>)
- [Official source](<https://fontsource.org/docs/getting-started/install>)

## Editorial review date

2026\-10\-06

## Editorial review scope

Purpose, published primary source code/documentation, and license terms were reviewed\. An example was not run in a local project\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
