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 Stale · 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, ranking #1228 of 2,256 tracked listings.

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
#1228
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

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

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 22, 2026 – Oct 17, 2026 · 88 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.

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.

Ranking history

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

Listing placement

All npm2,256 listings · 113 pages · 1,130 shown · page 62, #8 (overall #1,228)
All npm: every listing in weekly downloads order

Listing placement

Vite plugins250 listings · 13 pages · page 12, #18 (overall #238)
Vite 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 (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

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