Skip to content
PluginStats

fontless weekly downloads statistics

By made-in-common · npm · Vite plugins

Magical plug-and-play font optimization for modern web applications

View on npm Fresh · Dec 6, 2026

fontless has 1,371,717 recorded weekly downloads on npm, an increase of 20.9% over the past 30 days, ranking #249 of 3,247 tracked listings.

Weekly downloads
1,371,717
Official API · Dec 5, 2026
7-day growth
+8.7%
+110.1K weekly downloads
30-day growth
+20.9%
+237.2K weekly downloads
90-day growth
+153%
+828.6K weekly downloads
Rank
#249
▲ 20 in 7 days

About fontless

fontless

[![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![Github Actions][github-actions-src]][github-actions-href] [![Codecov][codecov-src]][codecov-href]

Magical plug-and-play font optimization for modern web applications

Features

  • 🚀 Optimized font loading: Automatically loads and configures fonts with proper fallbacks and preload links.
  • 🔤 Multiple provider support: Google Fonts, Bunny Fonts, FontShare, FontSource, and more using unifont
  • 📦 Zero runtime overhead: Pure CSS solution with no JavaScript required at runtime
  • 📏 Metric-based fallbacks: Reduces Cumulative Layout Shift (CLS) by using font metrics from fontaine
  • 🔄 CSS transformation: Detects font-family usage in your CSS and injects optimized @font-face declarations
  • 🎯 Framework agnostic: Works with all modern frameworks (Vue, React, Solid, Svelte, Qwik, etc.)

Installation

# npm
npm install fontless

# pnpm
pnpm install fontless

Usage

Add the fontless plugin to your Vite configuration:

// vite.config.js / vite.config.ts
import { defineConfig } from 'vite'
import { fontless } from 'fontless'

export default defineConfig({
  plugins: [
    // ... other plugins
    fontless()
  ],
})
Using fonts in your CSS

Simply use fonts in your CSS as you normally would, and fontless will handle optimization:

/* Your CSS */
.google-font {
  font-family: "Poppins", sans-serif;
}

.bunny-font {
  font-family: "Aclonica", sans-serif;
}

Configuration

You can customize fontless with various options:

fontless({
  // Configure available providers
  providers: {
    google: true,          // Google Fonts
    bunny: true,           // Bunny Fonts
    fontshare: true,       // FontShare
    fontsource: true,      // FontSource
    // Disable a provider
    adobe: false
  },

  // Provider priority order
  priority: ['google', 'bunny', 'fontshare'],

  // Default font settings
  defaults: {
    preload: true, // also accepts { subsets: ['latin'], styles: ['normal'] } or a filter function
    weights: [400, 700],
    styles: ['normal', 'italic'],
    // Fallbacks use category-aware presets from fontaine
    // Override specific generic families as needed
    fallbacks: {
      'sans-serif': ['Arial', 'Helvetica Neue'],
      // serif, monospace, cursive, fantasy, system-ui, etc. use shared defaults
    }
  },

  // Custom font family configurations
  families: [
    // Configure a specific font
    {
      name: 'Poppins',
      provider: 'google',
      weights: [300, 400, 600]
    },
    // Ship only the glyphs this family needs
    {
      name: 'Cabinet Grotesk',
      glyphs: 'Handgloves & 0123'
    },
    // Manual font configuration, with one entry per face
    {
      name: 'CustomFont',
      src: [{ url: '/fonts/custom-font-regular.woff2', format: 'woff2' }],
      weight: 400
    },
    {
      name: 'CustomFont',
      src: [{ url: '/fonts/custom-font-black.woff2', format: 'woff2' }],
      weight: 900
    }
  ],

  // Asset configuration
  assets: {
    prefix: '/assets/_fonts'
  },

  // Where font metadata, downloaded fonts and subsetted local fonts are cached between
  // builds, defaulting to `node_modules/.cache/fontless/meta`. Accepts a directory (resolved from the Vite
  // root), `{ dir }`, a storage instance such as `unstorage` for a custom driver, or `false` to
  // disable persistent caching.
  cache: '.cache/fonts',

  // Experimental features
  experimental: {
    disableLocalFallbacks: false
  }
})

Entries in families that share a name configure one family. Every entry with src contributes its own @font-face. Family-level options such as preload, fallbacks, and glyphs are taken from the first entry that sets them, and the family is global if any entry sets global. If a family has both src entries and provider entries, only the src entries are used.

Category-Aware Fallbacks

Fontless uses category-aware fallback presets shared with the fontaine package. These presets provide optimized system fonts for different generic font families:

  • sans-serif: Segoe UI, Helvetica Neue, Arial, Noto Sans, Liberation Sans
  • serif: Times New Roman, Georgia, Noto Serif, Liberation Serif
  • monospace: Courier New, Roboto Mono, Noto Sans Mono, Liberation Mono
  • cursive: Uses handwriting category fallbacks
  • fantasy: Uses display category fallbacks
  • system-ui, ui-serif, ui-sans-serif, ui-monospace: Mapped to corresponding category presets

You can override fallbacks for specific generic families in the defaults.fallbacks configuration while keeping the shared defaults for others. This ensures consistent font fallback behavior across your application and reduces cumulative layout shift (CLS).

Variable Font Fallbacks

A face that declares a font-weight range gains a second fallback face per fallback font, matched by font-weight: 700. It uses the bold face of the fallback font and is sized to the bold weight of your font, so bold text does not reflow when the web font loads.

Set fallbackInstances on a family (or on defaults, for every family) to choose which weights and widths get a fallback face of their own:

fontless({
  families: [
    {
      name: 'Archivo',
      src: '/fonts/archivo.woff2',
      weight: [100, 900],
      stretch: '62% 125%',
      fallbackInstances: [{ weight: 700 }, { weight: 800 }, { weight: 700, stretch: '125%' }],
    },
  ],
})
```…

Description from the npm listing.

  • font
  • optimization
  • vite-plugin
  • css
  • javascript

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

fontless weekly downloads on npm, last 90 days: 1,371,717 weekly downloads as of Dec 5, 2026, +153% over 90 days.fontlessWeekly downloads on npm · Last 90 days1,371,717downloads / week+153% over 90 days0200K400K600K800K1M1.2M1.4MSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
fontless weekly downloads on npm, last 90 days: 1,371,717 weekly downloads as of Dec 5, 2026, +153% over 90 days.

7/30/90-day growth

fontless weekly downloads growth on npm: +8.7% over 7 days, +20.9% over 30 days, +153% over 90 days.fontlessWeekly downloads growth on npm1,371,717downloads / week now7-day growth+110,057 weekly downloads+8.7%30-day growth+237,218 weekly downloads+20.9%90-day growth+828,612 weekly downloads+153%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
fontless weekly downloads growth on npm: +8.7% over 7 days, +20.9% over 30 days, +153% over 90 days.

Ranking history

fontless npm ranking history: currently #249 (by weekly downloads).fontlessnpm ranking · by weekly downloads · Last 90 days#249current rank#245#250#255#260#265#270#275#280#285Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
fontless npm ranking history: currently #249 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 13, #9 (overall #249)
All npm: every listing in weekly downloads order

Listing placement

Vite plugins300 listings · 15 pages · page 2, #12 (overall #32)
Vite plugins: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (170)
Recent weekly downloads observations for fontless
Date (UTC)Weekly downloadsChange vs. previous
1,371,717+18.8K
1,352,914+30.6K
1,322,323+20.8K
1,301,515+13.4K
1,288,087+25.3K
1,262,738-300
1,263,038+1.4K
1,261,660+6.6K
1,255,026-7K
1,262,070+1.1K
1,261,011+3.2K
1,257,780+4.1K
1,253,722+2.3K
1,251,463—

Similar npm Vite plugins plugins

All 20 fontless alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/fontless. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.