Skip to content
PluginStats

tailwindcss-unimportant weekly downloads statistics

By mwnciau · npm · Tailwind plugins

Adds lower specificity tailwindcss utility classes to be used in components

View on npm Fresh · Oct 18, 2026

tailwindcss-unimportant has 2,108 recorded weekly downloads on npm, a decrease of 36.3% over the past 30 days, ranking #1324 of 2,322 tracked listings.

Weekly downloads
2,108
Official API · Oct 18, 2026
7-day growth
-41.1%
-1.5K weekly downloads
30-day growth
-36.3%
-1.2K weekly downloads
90-day growth
-73.7%
-5.9K weekly downloads
Rank
#1324
Among tracked npm listings

About tailwindcss-unimportant

tailwindcss-unimportant

A Tailwind CSS plugin that creates lower-specificity utility classes that can be used to create components with overridable defaults.

Installation

npm install tailwindcss-unimportant

Add the tailwindcss-unimportant plugin to your tailwind.config.js file.

// tailwind.config.js
module.exports = {
  plugins: [require('tailwindcss-unimportant')],
}

Note: if you need to specify the important option in your tailwind configuration, you will need to pass it in as an option to the plugin.

// tailwind.config.js
module.exports = {
  plugins: [require('tailwindcss-unimportant')({ important: '[my-custom-selector]' })],
}

Getting started

To make a class unimportant, use the -: variant.

<p class="-:font-bold">Hello world</p>

These classes will always have lower precedence than classes without the variant.

// The text will have normal or bold weight depending on the order of the
// `font-bold` and `font-normal` classes in the compiled CSS.
<p class="font-bold font-normal">Hello world</p>

// The text will always have normal weight
<p class="-:font-bold font-normal">Hello world</p>

This is useful when making components where you want to be able to override the default classes.

/// paragraph.blade.php
<p {{ 
    $attributes->merge(['class' => '-:text-base -:font-normal'])
}}>
    {{ $slot }}
</p>

/// index.blade.php
// The classes in the paragraph component have lower specificity so we can
// easily override them.
<x-paragraph class="text-lg font-bold">Hello world!</x-paragraph>
Making classes even more unimportant

Sometimes it's useful to extend components within other components, and you can run into the same problem of clashing Tailwind classes.

This plugin provides additional class variants for up to 10 levels of unimportance: --:, ---:, ----:, etc.

// -:text-blue takes precedence over --:text-green, which takes precedence over
// ---:text-red
<a class="---:text-red --:text-green -:text-blue">
    The link is blue
</a>

As the variants become larger, you may prefer to use the number variants, where the lowest number takes precedence: --1:, --2:, --3:, etc. The number and symbol variants can be used interchangeably.

// This example is identical to the previous example
<a class="--5:text-red --:text-green --1:text-blue">
    The link is blue
</a>

Arbitrary values are also supported. For example, --[5]: is equivalent to -----:. Zero and negative values can be used to make classes of higher precedence.

UnimportanceSymbolic variantNumberic variant
1-:--1:
2--:--2:
3---:--3:
4----:--4:
5-----:--5:
6------:--6:
7-------:--7:
8--------:--8:
9---------:--9:
10----------:--10:
nn/a--[n]:

How it works

The -: variant wraps the selector for a given class in the css :where() function, reducing its specificity to 0-0-0. This means classes you use without the unimportant variant will be applied preferentially.

/* Specificity of 0-1-0 */
.bg-white

/* Specificity of 0-0-0 */
:where(.-\:bg-white)

However, having a specificity of 0-0-0 means that the default tailwind base rules and any base rules you create will take precedence over the unimportant classes. In many cases, this makes the unimportant classes useless.

<style>
/* Specificity of 0-0-1 */
a {
    color: blue;
}

/* Specificity of 0-0-0 */
:where(.-\:text-red) {
    color: red;
} 
</style>

<a class="-:text-red">The link is blue</a>

To fix this problem, the plugin sets the important Tailwind configuration option to :root. This increases the specificity of all Tailwind classes by 0-1-0, meaning our unimportant classes now have a higher specificity than the base rules.

<style>
/* Specificity of 0-0-1 */
a {
    color: blue;
}

/* Specificity of 0-2-0 */
:root .text-green {
    color: green;
}

/* Specificity of 0-1-0 */
:root :where(.-\:text-red) {
    color: red;
}
</style>

<a class="-:text-red">The link is red</a>
<a class="-:text-red text-green">The link is green</a>
Levels of unimportance

Classes with greater levels of unimportance are output first in the generated CSS file so that the less unimportant classes take precedence.

/* The more unimportant class is output first */
.--\:bg-white {...}

/* The later CSS rule takes precedence */
.-\:bg-black {...}

Description from the npm listing.

  • tailwind
  • tailwindcss
  • tailwindcss-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

tailwindcss-unimportant weekly downloads on npm, last 90 days: 2,108 weekly downloads as of Oct 18, 2026, -73.7% over 90 days.tailwindcss-unimportantWeekly downloads on npm · Last 90 days2,108downloads / week-73.7% over 90 days01K2K3K4K5K6K7K8KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
tailwindcss-unimportant weekly downloads on npm, last 90 days: 2,108 weekly downloads as of Oct 18, 2026, -73.7% over 90 days.

7/30/90-day growth

tailwindcss-unimportant weekly downloads growth on npm: -41.1% over 7 days, -36.3% over 30 days, -73.7% over 90 days.tailwindcss-unimportantWeekly downloads growth on npm2,108downloads / week now7-day growth-1,472 weekly downloads-41.1%30-day growth-1,200 weekly downloads-36.3%90-day growth-5,898 weekly downloads-73.7%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
tailwindcss-unimportant weekly downloads growth on npm: -41.1% over 7 days, -36.3% over 30 days, -73.7% over 90 days.

Ranking history

tailwindcss-unimportant npm ranking history: currently #1324 (by weekly downloads).tailwindcss-unimportantnpm ranking · by weekly downloads · Last 90 days#1324current rank#400#600#800#1000#1200#1400Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 17, 2026 – Oct 20, 2026 · 4 observations · Updated Oct 18, 2026pluginstats.com
tailwindcss-unimportant npm ranking history: currently #1324 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,161 shown · page 67, #7 (overall #1,327)
All npm: every listing in weekly downloads order

Listing placement

Tailwind plugins252 listings · 13 pages · page 1, #18 (overall #18)
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 (544)
Recent weekly downloads observations for tailwindcss-unimportant
Date (UTC)Weekly downloadsChange vs. previous
2,108+209
1,899-106
2,005+508
1,497-1.2K
2,741-1.3K
4,0620
4,062+482
3,580+44
3,536-112
3,648-38
3,686+246
3,440+192
3,248-1.3K
4,505—

Similar npm Tailwind plugins plugins

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