# Lightning CSS: 7.8 out of 10

A strong pick. 3rd of 10 in [CSS and styling tools](https://elestia.ai/opensource/styling/index.md).

Lightning CSS is a fast CSS parser, transformer, bundler and minifier written in Rust. It is now the CSS engine inside Vite 8 and Tailwind CSS v4, which makes it a strong pick for processing and minifying CSS in a new project today. Its main risk is that one person maintains it, though he has started recruiting co-maintainers.

**Best for:** Projects that want fast, correct CSS transpiling, prefixing, CSS modules and minification without a long PostCSS plugin chain.

## Scores

- **Overall: 7.8** (likely 6.7 to 8.7)
  - Claude Opus 5.5 (7.5): For processing and minifying CSS, it is the fastest and most modern option, and the ecosystem's main build tools have adopted it. That makes it a strong pick next to or instead of PostCSS. It is not a way to write styles, so it complements Tailwind or Sass rather than replacing them. A single maintainer and a slow review pace keep it below the top.
  - GPT-6.2 Sol (8.0): Lightning CSS is a strong choice for shipping standard CSS because it combines fast minification, useful browser transforms, and a documented, typed API. PostCSS is the stronger choice when the build depends on an existing plugin chain. Major build-tool defaults support the recommendation, while the slow release cadence and reports of CSS edge cases keep it below a category-wide default.
- **Needed by many: 6.2** (likely 5.1 to 7.3)
  - Claude Opus 5.5 (6.0): Almost every web app needs CSS prefixing, lowering and minification, but most developers get it through a build tool and never configure it. Fewer people pick it on purpose than pick a styling approach like Tailwind or Sass. It works on any framework and runtime that has a build step.
  - GPT-6.2 Sol (6.4): Minification, browser compatibility, and import bundling apply to a large share of web projects across frameworks. Teams looking for utility classes or Sass features still need an authoring tool. Framework defaults make it hard to estimate how many teams need to configure Lightning CSS themselves.
- **Helps a lot: 8.2** (likely 7.1 to 9.1)
  - Claude Opus 5.5 (8.0): It is very fast and produces smaller output than esbuild or cssnano. It also handles prefixing, syntax lowering, CSS modules and @import bundling, and it ships TypeScript types. It tracks new CSS specs closely. It does not have PostCSS's plugin ecosystem, and edge-case bugs pile up in the issue tracker.
  - GPT-6.2 Sol (8.3): Version 1.33.0 combines browser-targeted transforms, CSS Modules, import bundling, and minification in a typed Node API. The documented examples and source maps give coding agents a clear starting point, and strict parsing can report where a build failed. Lightning CSS led on speed and compressed size in a six-file benchmark, while a Symfony user reproduced a build failure with Sass output containing a byte-order mark. PostCSS remains the better fit for existing plugin chains.
- **Holds up over time: 6.4** (likely 4.9 to 7.7)
  - Claude Opus 5.5 (6.0): Vite, Tailwind and Next.js now depend on it, so the ecosystem is moving towards it and someone will keep it alive. But Devon Govett is the only maintainer. In May 2026 he asked for help, and only 3 releases and 79 commits came in the last year. Contributors such as kdy1 are starting to automate parts of the work, which may spread the load.
  - GPT-6.2 Sol (6.7): The repository had 79 commits and three GitHub releases in the past year, with contributions from several people in the July release. Four months have passed since that release, and 359 issues and 95 pull requests remain open. The lead maintainer reports handling releases manually and is recruiting help, with some Parcel Open Collective funds available. Vite and Next.js have a stake in keeping it healthy, but how much maintenance they will share remains unclear.
- **Used widely: 6.4** (likely 5.3 to 7.6)
  - Claude Opus 5.5 (7.0): Downloads grew from 52M to 980M per 4 weeks, a ratio of about 19 against a median of 4.1. Most of that comes from Vite 8 and Tailwind v4 installing it, not from people choosing it. It has 16k dependent repos, far fewer than PostCSS or Sass, but it runs inside hundreds of thousands of projects through those tools.
  - GPT-6.2 Sol (5.8): Four-week npm downloads rose from 52.1 million to 980.1 million, or 18.8 times year over year, well above the 4.1 benchmark. Vite 8 now installs it by default, and Tailwind also pulls it in, so the size of the increase in direct adoption is unclear. Ecosyste.ms finds about 16,000 dependent repos, ahead of vanilla-extract and UnoCSS and far behind PostCSS. State of CSS recorded a modest increase from 360 to 373 respondents reporting pre- or post-processor use.
- **Vouched for: 8.3** (likely 7.3 to 9.2)
  - Claude Opus 5.5 (8.0): Several major independent projects have bet their builds on it: Vite chose it as the default minifier, and Tailwind v4 is built on it. Next.js, Parcel and Rsbuild also offer it. Independent write-ups praise its speed. Developer surveys do not cover it, and its benchmarks are mostly the project's own.
  - GPT-6.2 Sol (8.6): Vite 8 uses Lightning CSS for production minification, Next.js uses it in Turbopack, and Tailwind v4 uses it for prefixing and syntax transforms. Folo tested version 1.33.0 in Chromium and found matching computed styles across 14 fixtures. Those integrations and tests support the score, with uncertainty around more varied stylesheets and direct-user satisfaction.
- **Safe: 7.3** (likely 6.2 to 8.7)
  - Claude Opus 5.5 (7.0): It has no advisories ever, and the npm package pulls in only one dependency. Native binaries come as per-platform optional packages, and a single npm account publishes them. That is a supply-chain concentration, and there is no Scorecard data. MPL-2.0 is a file-level copyleft licence that allows commercial use.
  - GPT-6.2 Sol (7.6): OSV and the project's GitHub page list zero published advisories, and npm reports one regular dependency alongside platform-specific native packages. GitHub Actions builds and publishes the packages using a stored npm token, and the number of authorized publishers is unclear. MPL-2.0 allows commercial use and applies file-level copyleft when covered code is distributed. The missing OpenSSF Scorecard leaves some repository controls unverified.

## Good

- It parses, prefixes, lowers syntax for target browsers and minifies in one pass, much faster than PostCSS with cssnano.
- It keeps up with new CSS features such as view transitions, @position-try, scroll-state queries and relative colors.
- Vite 8 uses it as the default CSS minifier, Tailwind v4 is built on it, and Next.js, Parcel and Rsbuild support it.
- It has one JS dependency and no known advisories.

## Bad

- One person maintains it, and 359 open issues and 95 open PRs are waiting.
- It has no plugin ecosystem like PostCSS, and its JS visitor API is far less used.
- It ships as native binaries. Missing platform packages cause install and deploy failures, for example on Windows and in serverless builds.
- Minor releases have sometimes changed output, for example relative color parsing in 1.30.

## The numbers

- Downloads, 4 weeks: 980M
- In a year: ×19
- GitHub stars: 7.7k
- Commits, 12 months: 79
- Last npm release: Jul 2026
- Advisories, 24 months: 0
- Licence: MPL-2.0
- GitHub: https://github.com/parcel-bundler/lightningcss
- npm: https://www.npmjs.com/package/lightningcss

Many downloads come from build tools that install it.

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
