postcss-nesting
PostCSS plugin enabling CSS nesting syntax similar to SCSS.
Styling and CSS npm MIT-0
How postcss-nesting is used
postcss-nesting is a dependency in 12 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 29 projects, and what it is used with below comes from all of them. The most used alternative in our scan is Sass (108 projects). Projects that use it most often also use Tailwind CSS (96.6%), postcss-import (58.6%), Framer Motion (55.2%).
postcss-nesting popularity over time
Gid Score 46: downloads 78, use in agent projects 33, GitHub stars 12, downloads trend 46 (each 0-100). How it is calculated.
Often used with postcss-nesting
| Tailwind CSS | 96.6% of postcss-nesting projects · 3.0× more than average |
|---|---|
| postcss-import | 58.6% of postcss-nesting projects · 113.7× more than average |
| Framer Motion | 55.2% of postcss-nesting projects · 6.9× more than average |
| Next.js | 62.1% of postcss-nesting projects · 3.5× more than average |
| ESLint | 82.8% of postcss-nesting projects · 2.3× more than average |
| Sonner | 44.8% of postcss-nesting projects · 4.8× more than average |
| Radix UI | 48.3% of postcss-nesting projects · 3.7× more than average |
| React | 75.9% of postcss-nesting projects · 2.3× more than average |
From all 29 projects in our scan that use postcss-nesting, including the dependency samples.
By coding agent
| GitHub Copilot | 0.2% of projects set up for it |
|---|---|
| Claude Code | 0.2% of projects set up for it |
| Cursor | 0.2% of projects set up for it |
Share of public repos configured for each agent that list postcss-nesting as a dependency.
How postcss-nesting is funded
Open Collective: CSS Tools
| Received, last 12 months | $3,026 Oct 2025 – Sep 2026 |
|---|---|
| Estimated annual budget | $3,194 Open Collective's estimate |
| Balance | $1,896 |
| Raised since the start | $7,831 · $5,935 paid out |
| Typical month median, last 12 months | $192 · $192 over 24 months |
| Last 12 months vs the 12 before | -2% |
| Contributors, last 12 months | 2 |
Top company backers all time
| THANKS.DEV | $2,081 since Aug 2023 |
|---|
Feb 2023Sep 2026
Money by month. First money received in Feb 2023. The typical month is the median: one big one-off donation does not move it.
The same collective is named by 1 more tool in our catalog: postcss-preset-env.
USD after payment processor fees, as Open Collective reports it; fiscal host Open Source Collective. Source
GitHub Sponsors
| @csstools | 7 current sponsors |
|---|
GitHub shows how many people and companies sponsor an account, not how much they pay.
Ways to fund postcss-nesting
GitHub Sponsors Open Collective
As the maintainers list them in FUNDING.yml on GitHub. Checked Oct 20, 2026.
Install
| Package | npm install postcss-nesting |
|---|---|
| Main stacks | Next.js (16), TypeScript / JavaScript (7), PHP (4), Python (2) |
| Example projects | firecrawl/open-lovable, haystackeditor/haystack-editor, wesbos/wesbos, firecrawl/ai-ready-website, LVTD-LLC/builtwithdjango |
Alternatives to postcss-nesting
Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside postcss-nesting are not listed here; they are in "Often used with".
| Tool | Gid Score | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|---|
| Sass npm CSS preprocessor adding variables, nesting and mixins to stylesheets. |
65 | 108 (2.2%) | 17.1M | 4,234 | MIT |
More in Styling and CSS: Tailwind CSS Tailwind Merge Emotion tailwind-variants NativeWind Fontsource Inter postcss-import Lightning CSS