Skip to content

A Gatsby plugin to handle cdn, base64 and self hosted webfonts

License

Notifications You must be signed in to change notification settings

namebasehq/gatsby-plugin-webfonts

 
 

Repository files navigation

gatsby-plugin-webfonts

A Gatsby plugin to handle cdn, base64 and self hosted webfonts

  • Creates minified @font-face CSS rules
  • Supports font-display property (Default: 'swap')
  • Handles preconnect and preload optimizations
  • Automatically downloads fonts for self hosting
  • Supports cdn, base64 and self hosted Fonts (Default: 'selfHosted')

Install

// with npm
npm install gatsby-plugin-webfonts

// with yarn
yarn add gatsby-plugin-webfonts

Documentation

The documentation

License

MIT

About

A Gatsby plugin to handle cdn, base64 and self hosted webfonts

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%