Skip to content
PluginStats

tailwindcss-opacity weekly downloads statistics

By the-launch-tech · npm · Tailwind plugins

Opacity plugin for TailwindCSS

View on npm Fresh · Dec 6, 2026

tailwindcss-opacity has 115 recorded weekly downloads on npm, an increase of 248% over the past 30 days, ranking #2592 of 3,247 tracked listings.

Weekly downloads
115
Official API · Dec 5, 2026
7-day growth
+113%
+61 weekly downloads
30-day growth
+248%
+82 weekly downloads
90-day growth
+66.7%
+46 weekly downloads
Rank
#2592
▲ 7 in 7 days

About tailwindcss-opacity

TailwindCSS Opacity Plugin

Contribution to the TailwindCSS community and product.

Currently TailwindCSS only offers opacity at the element level, not the attribute level.

This plugin provides granular, or optionally basic control over RGBA/"opacity" at the attribute level to complement your TailwindCSS theme('colors').

The optional basic control uses theme('opacity') values.

Features
  • Simple option to generate RGBA attributes based solely on theme('colors') and theme('opacity')

  • Granular control through config so that your generated file doesn't explode with unused classes

    • Opacity Opt-In pluginConfig.opacities: number[]
    • Variant Opt-In pluginConfig.variants: string[]
    • Attribute Opt-Out pluginConfig.excludedAttributes: string[]
  • Handles theme('colors') recursively

  • RGBA available on all color defining CSS attributes

    1. Property: color, Prefix: text
    2. Property: backgroundColor, Prefix: bg
    3. Property: borderColor, Prefix: border
    4. Property: borderTopColor, Prefix: border-t
    5. Property: borderRightColor, Prefix: border-r
    6. Property: borderBottomColor, Prefix: border-b
    7. Property: borderLeftColor, Prefix: border-l
    8. Property: stroke, Prefix: stroke
    9. Property: fill, Prefix: fill
  • Unreleased 3.0.0 Color specific control for super granularity.


2.x.x User Facing Changes

  1. (non-breaking) excludedAttributes property on config object is optional. View examples below to see potential usage.
  2. (non-breaking) deepControl property on config object is optional. View examples below to see potential usage.

Usage

1. Installation
  • npm i --save tailwindcss-opacity

2. Explaination of Generated Classnames
  • .text-blue-100

    • text = color attribute
    • blue = theme('colors'), { colors: { blue: '#XXXXXX' } }
    • 100 = 0.1 opacity
  • .border-blue-1-450

    • border = border-color attribute
    • 1-blue = theme('colors'), { colors: { blue: { 1: '#XXXXXX' } } }
    • 450 = 0.45 opacity
  • .bg-light-blue-200

    • bg = background-color attribute
    • light-blue = theme('colors'), { colors: { light: { blue: '#XXXXXX' } } }
    • 200 = 0.2 opacity

3. Example Generation
.text-yellow-850 {
  color: rgba(..., 0.85);
}

.border-r-yellow-200 {
  background-color: rgba(..., 0.2);
}

.bg-yellow-400 {
  background-color: rgba(..., 0.4);
}

.text-red-0-850 {
  color: rgba(..., 0.85);
}

.text-red-3-850 {
  color: rgba(..., 0.85);
}

.bg-red-4-400 {
  background-color: rgba(..., 0.4);
}

.text-green-0-850 {
  color: rgba(..., 0.85);
}

.bg-blue-4-650 {
  background-color: rgba(..., 0.65);
}

4. Example config in tailwind.config.js
a. Configuration Types
config: {
  ...
  colors: {
    [colorKey: string | number]: string
  },
  opacity?: number[]                // Optional for simple generation
  ...
}

pluginConfig?: {                    // Alternative config for granular control
  opacities?: number[]
  variants?: string[]
  excludedAttributes?: string[]
}

b. Example Configuration
/**
 * Only use theme('colors') and theme('opacity')
 */
{
  plugins: [require('tailwindcss-opacity')()]
}

/**
 * Config for more granular control
 */
{
  plugins: [
    require('tailwindcss-opacity')({
      opacities: [0.1, 0.2, 0.4, 0.65, 0.85], // Opacities applied to theme('colors')
      variants: ['hover', 'active', 'disabled'], // Variants to apply opacities to
      excludedAttributes: ['borderColor'], // Exclude borderColor from generation
    }),
  ]
}

History

  • 1.0.0 Npm Module, Open Source, published
  • 2.0.0 Integrate Typescript
  • 2.0.0 Add excludable attributes
  • 2.0.1 Example generated classNames added to readme
  • 2.0.1 Beginning unit testing with Jest and Typescript
  • 2.0.2 Completed unit tests for utils.ts
  • 2.1.1 Added simple generation based on theme('opacity') as an option

Credits

  • Company: ©2019 The Launch
  • Author: Daniel Griffiths
  • Role: Founder and Engineer
  • Project: ©2020 TailwindCSS Opacity (contribution to TailwindCSS community)

Description from the npm listing.

  • TailwindCSS
  • Tailwind
  • CSS
  • SCSS
  • PostCSS
  • Plugin
  • tailwindcss
  • tailwind
  • opacity
  • postcss
  • css
  • scss
  • plugin
  • alpha
  • 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-opacity weekly downloads on npm, last 90 days: 115 weekly downloads as of Dec 5, 2026, +66.7% over 90 days.tailwindcss-opacityWeekly downloads on npm · Last 90 days115downloads / week+66.7% over 90 days050100150200250300Sep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
tailwindcss-opacity weekly downloads on npm, last 90 days: 115 weekly downloads as of Dec 5, 2026, +66.7% over 90 days.

7/30/90-day growth

tailwindcss-opacity weekly downloads growth on npm: +113% over 7 days, +248% over 30 days, +66.7% over 90 days.tailwindcss-opacityWeekly downloads growth on npm115downloads / week now7-day growth+61 weekly downloads+113%30-day growth+82 weekly downloads+248%90-day growth+46 weekly downloads+66.7%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
tailwindcss-opacity weekly downloads growth on npm: +113% over 7 days, +248% over 30 days, +66.7% over 90 days.

Ranking history

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

Listing placement

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

Listing placement

Tailwind plugins292 listings · 15 pages · page 6, #9 (overall #109)
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-opacity
Date (UTC)Weekly downloadsChange vs. previous
115-1
116-10
126+1
125+85
40+1
39-13
52-2
54+1
53-25
78+1
77-45
122-4
126-8
134—

Similar npm Tailwind plugins plugins

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