Skip to content
PluginStats

tailwindcss-font weekly downloads statistics

By phuctm97 (5 listings) · npm · Tailwind plugins

A TailwindCSS plugin for using custom fonts with CSS variables

View on npm Fresh · Dec 6, 2026

tailwindcss-font has 16 recorded weekly downloads on npm, an increase of 167% over the past 30 days, ranking #3043 of 3,247 tracked listings.

Weekly downloads
16
Official API · Dec 5, 2026
7-day growth
+129%
+9 weekly downloads
30-day growth
+167%
+10 weekly downloads
90-day growth
+1500%
+15 weekly downloads
Rank
#3043
▲ 4 in 7 days

About tailwindcss-font

TailwindCSS Font

A TailwindCSS plugin that provides a convenient API for using custom fonts with CSS variables.

Installation

Apply the plugin

Install the package:

npm install -D tailwindcss-font

Add the plugin to your TailwindCSS configuration and specify your fonts:

// tailwind.config.js
module.exports = {
  // …
  plugins: [
    require("tailwindcss-font")({
      sans: ["Inter"],
      serif: ["Playfair Display"],
    }),
  ],
};

The above configuration will generate the following CSS variables and corresponding TailwindCSS font-* classes:

html {
  --tw-font-inter: "Inter";
  --tw-font-playfair-display: "Playfair Display";
}
.font-sans {
  font-family: var(--tw-font-inter), /* … sans font stack */;
}
.font-serif {
  font-family: var(--tw-font-playfair-display), /* … serif font stack */;
}
Load the fonts

It's up to you how to load the fonts and assign them to the CSS variables.

For example, in Next.js 13+, you can use next/font with corresponding variable values:

import { Inter, Playfair_Display } from "next/font/google";

const inter = Inter({
  variable: "--tw-font-inter",
  subsets: ["latin"],
});

const playfairDisplay = Playfair_Display({
  variable: "--tw-font-playfair-display",
  subsets: ["latin"],
});

export default function Layout({ children }: React.PropsWithChildren) {
  return (
    <html className={`${inter.variable} ${playfairDisplay.variable}`}>
      <body>{children}</body>
    </html>
  );
}

Features

You can specify as many fonts as you'd like to, just add them to the plugin options:

require("tailwindcss-font")({
  mono: ["JetBrains Mono"],
  display: ["Cabinet Grotesk"],
  quote: ["Cormorant Garamond", "serif"],
});
Automatic font stack

The plugin automatically appends the sans, serif, and mono font stacks to the font families, so you don't have to specify them.

For non-default font, the sans font stack is appended by default, you can override it by specifying either sans, serif, or mono in your font stack, they'll be replaced with the corresponding font stack. For example, in the above configuration, the quote font stack will be "Cormorant Garamond", /* serif font stack */.

Automatic font-* classes

The key of the font makes the TailwindCSS font-${key} class. For example, in the above configuration, you can use font-mono, font-display, and font-quote to apply the corresponding fonts.

Automatic CSS variables

Each unique font family will generate a corresponding CSS variable in kebab-case style, for example, Cormorant Garamond becomes --tw-font-cormorant-garamond.

License

MIT

Description from the npm listing.

  • tailwind
  • tailwindcss
  • tailwind-plugin
  • tailwindcss-plugin
  • font
  • font-family

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

tailwindcss-font weekly downloads on npm, last 90 days: 16 weekly downloads as of Dec 5, 2026, +1500% over 90 days.tailwindcss-fontWeekly downloads on npm · Last 90 days16downloads / week+1500% over 90 days024681012141618Sep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
tailwindcss-font weekly downloads on npm, last 90 days: 16 weekly downloads as of Dec 5, 2026, +1500% over 90 days.

7/30/90-day growth

tailwindcss-font weekly downloads growth on npm: +129% over 7 days, +167% over 30 days, +1500% over 90 days.tailwindcss-fontWeekly downloads growth on npm16downloads / week now7-day growth+9 weekly downloads+129%30-day growth+10 weekly downloads+167%90-day growth+15 weekly downloads+1500%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
tailwindcss-font weekly downloads growth on npm: +129% over 7 days, +167% over 30 days, +1500% over 90 days.

Ranking history

tailwindcss-font npm ranking history: currently #3043 (by weekly downloads).tailwindcss-fontnpm ranking · by weekly downloads · Last 90 days#3043current rank#500#1000#1500#2000#2500#3000#3500Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 45 observations · Updated Dec 5, 2026pluginstats.com
tailwindcss-font npm ranking history: currently #3043 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 153, #5 (overall #3,045)
All npm: every listing in weekly downloads order

Listing placement

Tailwind plugins292 listings · 15 pages · page 11, #9 (overall #209)
Tailwind 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 (592)
Recent weekly downloads observations for tailwindcss-font
Date (UTC)Weekly downloadsChange vs. previous
16-1
17+3
14+2
12+8
40
40
4-3
7+1
6-3
9-3
120
120
120
12—

Similar npm Tailwind plugins plugins

All 20 tailwindcss-font 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/tailwindcss-font. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.