Skip to content
PluginStats

tailwindcss-bg-svg weekly downloads statistics

By AndersNielsen85 (2 listings) · npm · Tailwind plugins

CSS svg injected background images plugin for tailwindcss framework

View on npm Fresh · Dec 6, 2026

tailwindcss-bg-svg has 664 recorded weekly downloads on npm, an increase of 96.4% over the past 30 days, ranking #2190 of 3,247 tracked listings.

Weekly downloads
664
Official API · Dec 5, 2026
7-day growth
+153%
+402 weekly downloads
30-day growth
+96.4%
+326 weekly downloads
90-day growth
+364%
+521 weekly downloads
Rank
#2190
▲ 123 in 7 days

About tailwindcss-bg-svg

Background svg Tailwind Plugin

V2 breaking change

The configuration has been moved from plugin to utility. This should allow for on-the-fly adding icons with HMR.

If you are coming from pre v2 you will need to move your configuration.

Looking for the the V1 documentation?

Installation

Add this plugin to your project:

# Install via npm
npm install --save-dev tailwindcss-bg-svg

# or yarn
yarn add tailwindcss-bg-svg --dev

Usage

The Background svg plugin exposes options for you to use. The plugin will use your existing tailwind colors. It works by replacing "svgcolor" with the color code and base64 encoding the svg. Remember to set your fill/stroke to svgcolor

Example code for using the plugin.

let colors = {
  'black': '#22292f',
  'grey': {
    '100': '#3d4852',
  },
}

module.exports = {
  theme: {
    bgSvg: {
        'arrow': '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15.04 12.37"><path d="M.5,6.19H14.35" fill="none" stroke="svgcolor" stroke-linecap="round" stroke-linejoin="round"/><polyline points="8.86 0.5 14.54 6.19 8.86 11.87" fill="none" stroke="svgcolor" stroke-linecap="round" stroke-linejoin="round"/></svg>',
    }
    // ...
  },
  plugins: [
    require('tailwindcss-bg-svg'),
    // ...
  ],
}

This configuration would create the following classes:

.bg-svg-arrow-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24.99 25'%3E%3Cpath d='M24.65 21.61l-4.87-4.87a1.16 1.16 0 0 0-.78-.34h-.8a10.14 10.14 0 1 0-1.75 1.75V19a1.16 1.16 0 0 0 .34.83l4.87 4.87a1.17 1.17 0 0 0 1.65 0l1.38-1.38a1.16 1.16 0 0 0-.04-1.71zm-14.5-5.22a6.25 6.25 0 1 1 6.25-6.25 6.24 6.24 0 0 1-6.25 6.25z' fill='%2322292f'/%3E%3C/svg%3E")}
.bg-svg-arrow-grey-100{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24.99 25'%3E%3Cpath d='M24.65 21.61l-4.87-4.87a1.16 1.16 0 0 0-.78-.34h-.8a10.14 10.14 0 1 0-1.75 1.75V19a1.16 1.16 0 0 0 .34.83l4.87 4.87a1.17 1.17 0 0 0 1.65 0l1.38-1.38a1.16 1.16 0 0 0-.04-1.71zm-14.5-5.22a6.25 6.25 0 1 1 6.25-6.25 6.24 6.24 0 0 1-6.25 6.25z' fill='%233d4852'/%3E%3C/svg%3E")}

Description from the npm listing.

  • tailwind
  • tailwindcss
  • plugin
  • tailwindcss-plugin

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-bg-svg weekly downloads on npm, last 90 days: 664 weekly downloads as of Dec 5, 2026, +364% over 90 days.tailwindcss-bg-svgWeekly downloads on npm · Last 90 days664downloads / week+364% over 90 days0100200300400500600700Sep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
tailwindcss-bg-svg weekly downloads on npm, last 90 days: 664 weekly downloads as of Dec 5, 2026, +364% over 90 days.

7/30/90-day growth

tailwindcss-bg-svg weekly downloads growth on npm: +153% over 7 days, +96.4% over 30 days, +364% over 90 days.tailwindcss-bg-svgWeekly downloads growth on npm664downloads / week now7-day growth+402 weekly downloads+153%30-day growth+326 weekly downloads+96.4%90-day growth+521 weekly downloads+364%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
tailwindcss-bg-svg weekly downloads growth on npm: +153% over 7 days, +96.4% over 30 days, +364% over 90 days.

Ranking history

tailwindcss-bg-svg npm ranking history: currently #2190 (by weekly downloads).tailwindcss-bg-svgnpm ranking · by weekly downloads · Last 90 days#2190current rank#600#800#1000#1200#1400#1600#1800#2000#2200#2400Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 45 observations · Updated Dec 5, 2026pluginstats.com
tailwindcss-bg-svg npm ranking history: currently #2190 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 110, #10 (overall #2,190)
All npm: every listing in weekly downloads order

Listing placement

Tailwind plugins292 listings · 15 pages · page 3, #1 (overall #41)
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-bg-svg
Date (UTC)Weekly downloadsChange vs. previous
664+31
633+361
272+54
218+15
203-42
245-7
252-10
262+2
260-50
310-36
346-5
351-63
414-29
443—

Similar npm Tailwind plugins plugins

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