Skip to content
PluginStats

rollup-plugin-postcss-lit weekly downloads statistics

By umbopepato · npm · Vite plugins

Rollup plugin to load PostCSSed stylesheets in LitElement components

View on npm Fresh · Oct 17, 2026

rollup-plugin-postcss-lit has 2,650 recorded weekly downloads on npm, a decrease of 52.6% over the past 30 days.

It ranks #1226 of 2,251 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by -47.9%.

PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.

Weekly downloads
2,650
Official API · Oct 17, 2026
7-day growth
-61.6%
-4.3K weekly downloads
30-day growth
-52.6%
-2.9K weekly downloads
90-day growth
-47.9%
-2.4K weekly downloads
Rank
#1226
Among tracked npm listings

About rollup-plugin-postcss-lit

Rollup plugin postcss lit

Rollup plugin to load PostCSSed stylesheets in LitElement components

Install

Usage

Add postcssLit plugin _after_ postcss. This wraps PostCSSed styles in Lit's css template literal tag, so you can import them directly in your components.

Add PostCSSed stylesheets to your LitElement components:

JS version

Usage with lit-element

If you're using the lit-element package, set the importPackage option accordingly:

Usage with Vite

This plugin is pre-configured to work with Vite, just add it to plugins and your styles will be Lit-ified ✨

⚠️ Use the ?inline suffix to prevent Vite from adding the styles to the CSS bundle as well

Options

PostCSS plugin setup

rollup-plugin-postcss injects all the imported stylesheets in by default: this causes an unnecessary style duplication if you're using the default ShadowDOM -based style encapsulation in your Lit components. Unless you're using Light DOM, consider disabling the inject option:

When should I use it?

This plugin is meant to be used with rollup-plugin-postcss. If you only need to load plain css files in your LitElement components, consider using rollup-plugin-lit-css.

Contributors

License

This project is licensed under the MIT License, see LICENSE for details.

Description from the npm listing.

  • postcss
  • css
  • lit
  • lit-element
  • lit-html
  • sass
  • scss
  • less
  • stylus
  • css-modules
  • rollup-plugin
  • vite-plugin

Where rollup-plugin-postcss-lit sits in the listing

Each band is one page of 20. Weekly downloads on a log 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.

All npm2,248 listings · 113 pages · page 62, #6 (overall #1226)
All npm: every listing in weekly downloads order
PNG SVG
Vite plugins250 listings · 13 pages · page 12, #18 (overall #238)
Vite plugins: every listing in weekly downloads order
PNG SVG

Charts

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

Adoption over time

rollup-plugin-postcss-lit weekly downloads on npm, last 90 days: 2,650 weekly downloads as of Oct 17, 2026, -47.9% over 90 days.rollup-plugin-postcss-litWeekly downloads on npm · Last 90 days2,650downloads / week-47.9% over 90 days02K4K6K8K10KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 20, 2026 – Oct 17, 2026 · 90 observations · Updated Oc…pluginstats.com
rollup-plugin-postcss-lit weekly downloads on npm, last 90 days: 2,650 weekly downloads as of Oct 17, 2026, -47.9% over 90 days.
PNG SVG

7/30/90-day growth

rollup-plugin-postcss-lit weekly downloads growth on npm: -61.6% over 7 days, -52.6% over 30 days, -47.9% over 90 days.rollup-plugin-postcss-litWeekly downloads growth on npm2,650downloads / week now7-day growth-4,260 weekly downloads-61.6%30-day growth-2,944 weekly downloads-52.6%90-day growth-2,436 weekly downloads-47.9%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
rollup-plugin-postcss-lit weekly downloads growth on npm: -61.6% over 7 days, -52.6% over 30 days, -47.9% over 90 days.
PNG SVG

Ranking history

rollup-plugin-postcss-lit npm ranking history: currently #1226 (by weekly downloads).rollup-plugin-postcss-litnpm ranking · by weekly downloads · Last 90 days#1226current rank#1224#1225#1226#1227#1228Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 17, 2026pluginstats.com
rollup-plugin-postcss-lit npm ranking history: currently #1226 (by weekly downloads).
PNG SVG

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.

Recent observations

Full history (121)
Recent weekly downloads observations for rollup-plugin-postcss-lit
Date (UTC)Weekly downloadsChange vs. previous
2,650-506
3,156-117
3,273-1.9K
5,155-1.4K
6,6000
6,600-501
7,101+191
6,910-58
6,968-396
7,364+550
6,814-162
6,976-1.3K
8,301-124
8,425—

Similar npm Vite plugins plugins

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/rollup-plugin-postcss-lit. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.