Less
Reasonable, with limits. 9th of 10 CSS and styling tools.
Less is a CSS preprocessor that adds variables, mixins, guards and functions to CSS. It is still maintained, and a Less 5 rewrite is in alpha. Today it is mostly kept alive by older codebases such as Ant Design v4, Bootstrap 3 and enterprise themes. For new work, Sass or native CSS with PostCSS or Lightning CSS is the better pick.
Best for: Teams that maintain an existing Less codebase or theme, such as Ant Design v4 or Bootstrap 3.
Scores
Overall5.1
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 4.0, likely 3.0 to 5.0
Less works, is safe and is still maintained, so keep it where it already runs. For a new project, Sass is the stronger preprocessor, and native CSS with PostCSS or Lightning CSS, or Tailwind, fits most modern stacks better. Its slow growth and the coming breaking 5.0 rewrite add to the case against starting with it.
- npm downloads ratio: 1.78 against a 4.1 median: losing ground.
- 2025.stateofcss.com/en-US/other-tools: Far behind Sass in survey use.
- github.com/less/less.js/releases: Active, but Less 5 will not be drop-in.
GPT-6.2 Sol: 6.2, likely 5.1 to 7.3
Less 4.9.1 is a capable choice when a new project needs to share existing Less styles or customize UIkit. For a new stylesheet system, Sass offers namespaced modules and a larger active user base. Less is still maintained, but slower relative adoption and uncertainty about the Less 5 upgrade lower its standing for new projects.
- getuikit.com/docs/less: UIkit documents source-level customization with Less variables and mixins.
- sass-lang.com/documentation/at-rules/use: Sass offers a dedicated module system for shared stylesheets.
- 2026.stateofcss.com/en-US/other-tools: Survey respondents reported substantially more Sass use than Less use.
- github.com/less/less.js/releases: The active Less 5 rewrite leaves compatibility questions open.
- npm downloadsLast4Weeks and downloadsSame4WeeksYearAgo and medianDownloadsRatio: Less's 1.78× growth trails the 4.1× catalog benchmark.
Needed by many4.3
How many developers need a tool for this job?
Claude Opus 5.5: 4.0, likely 3.0 to 5.0
Styling is a near-universal need, but a preprocessor is now optional for most projects, and Less is the second choice among preprocessors. The developers who need Less in particular are mostly those on existing Less codebases. Survey data is direct, which keeps the range fairly narrow.
- 2025.stateofcss.com/en-US/other-tools: Less used by 376 of 3,977 respondents, against 2,434 for Sass.
- lullabot.com/articles/do-you-still-need-sass-2024: Native CSS now covers much of what preprocessors were used for.
GPT-6.2 Sol: 4.5, likely 3.4 to 5.6
Less works across web frameworks and is useful for teams that share mixins or customize themes at build time. Native CSS already covers nesting and custom properties, which reduces the need for a preprocessor in simpler projects. About 8% of respondents to the 2026 State of CSS preprocessor question selected Less, though that survey samples CSS practitioners.
- 2026.stateofcss.com/en-US/other-tools: 297 of 3,656 question respondents selected Less.
- lesscss.org/features: Documents build-time variables, nesting and reusable mixins.
- reddit.com/r/css/comments/1tspl2p/do_you_still_write_custom_css_or_rely_mostly_on: A developer reports dropping Less and Sass after adopting CSS custom properties.
Helps a lot6.0
How well does it do the job for those who need it?
Claude Opus 5.5: 5.0, likely 4.0 to 6.0
Less 4.x is a mature, correct compiler with a full feature set: mixins, guards, maps, functions and imports. Sass does the same job with a richer module system, better tooling and more learning material, so Less is clearly second. The Less 5 alpha modernises its output but is not finished. AI agents write Less well because the syntax is old and stable.
- github.com/less/less.js/releases: The 5.0 alpha is a Jess-based rewrite and not yet a drop-in replacement for 4.x.
- dev.to/nickbenksim/why-use-css-nesting-instead-of-sass-and-less-19jm: Native CSS nesting replaces a core reason to use Less.
- npm hasTypes: No bundled types.
GPT-6.2 Sol: 7.0, likely 5.9 to 8.1
Less 4.9.1 offers well-documented mixins, flexible imports and source maps. Sass has better support for organizing large shared stylesheets through namespaced modules, and Less users need separate declarations for the TypeScript API. An older benchmark favored Less over Dart Sass on one workload, so current performance across projects remains uncertain. Evidence on how reliably coding agents generate Less is sparse.
- lesscss.org/features: Documents mixins, variable scope and import behavior.
- lesscss.org/usage: Documents source maps and the CLI, Node API and browser build.
- sass-lang.com/documentation/at-rules/use: Sass supports namespaced modules through @use.
- npm hasTypes: The package ships without TypeScript declarations.
- raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/master/types/less/index.d.ts: DefinitelyTyped provides separate declarations for the JavaScript API.
- github.com/postcss/benchmark: Evil Martians measured faster Less compilation than Dart Sass on an older fixture.
Holds up over time5.6
Will it still be a good choice in two years?
Claude Opus 5.5: 5.0, likely 4.0 to 7.0
The project is active: 84 commits, 30 releases and 14 npm versions in the last year, with releases published from CI. Much of the work rests on one lead maintainer with no visible funding, and the coming 5.0 rewrite will break code. The ecosystem is moving away from preprocessors, and Ant Design v5 dropped Less.
- github commitsLastYear / releasesLastYear: 84 commits and 30 releases in the last year.
- github.com/less/less.js/pull/4487: Less 5 alpha on the Jess engine, with compatibility gaps still pending.
- scorecard Maintained: Scorecard rates maintenance activity 2 of 10.
- Ant Design v5: Ant Design moved from Less to CSS-in-JS in v5.
GPT-6.2 Sol: 6.2, likely 4.9 to 7.4
Less recorded 84 commits in the past year, and several contributors shipped fixes on the stable line. Its stable release is older than Sass's, and the move to ES modules required compatibility fixes for webpack users. The active Less 5 rewrite changes selector output and makes upgrade effort uncertain. npm lists five collaborators, with limited public evidence about release approvals or ongoing funding.
- github commitsLastYear and latestRelease: 84 commits and a September 2026 stable release.
- peers Sass commitsLastYear and latestPublishedAt: Sass recorded more commits and published a stable release in November.
- github.com/less/less.js/blob/v4.9.1/CHANGELOG.md: Multiple contributors shipped fixes and gave advance warning of syntax removals.
- github.com/webpack/less-loader/pull/578: webpack's loader needed a compatibility fix after Less moved to ES modules.
- github.com/less/less.js/releases: Less 5 is an active compiler rewrite that preserves native nesting by default.
- npmjs.com/package/less?activeTab=versions: npm lists five collaborators and separate stable and alpha tags.
Used widely6.1
How many use it, and is that growing?
Claude Opus 5.5: 5.0, likely 4.0 to 6.0
58M downloads in 4 weeks and about 951k dependent repositories show a large installed base, but much of it is old. The download ratio of about 1.78 is far below the 4.1 median, so Less is losing share. Survey use is about a sixth of Sass, and there are no Hacker News or Bluesky mentions.
- npm downloadsLast4Weeks vs downloadsSame4WeeksYearAgo: 58.1M against 32.7M a year ago, a ratio of 1.78 against a median of 4.1.
- dependents repos: 951,165 dependent repositories, against about 1.05M for Sass.
- bluesky posts / hackerNews stories: Zero posts and zero stories: little current attention.
- 2025.stateofcss.com/en-US/other-tools: 376 users against Sass's 2,434.
GPT-6.2 Sol: 7.2, likely 5.9 to 8.4
ecosyste.ms found about 951,000 dependent repositories and 38,900 packages, with the repository count close to Sass and Tailwind. Four-week downloads rose from 32.7 million to 58.1 million, a 1.78× increase that trails both peers and the 4.1× catalog median. Less has 17,000 GitHub stars and the collector found no recent Bluesky posts linking to the repository. The installed base is large, but repeat installs and older projects make new adoption hard to measure.
- dependents repos and packages: ecosyste.ms indexed 951,165 repositories and 38,920 packages.
- npm downloadsLast4Weeks and downloadsSame4WeeksYearAgo: Downloads increased 1.78× year over year.
- medianDownloadsRatio and peers: The catalog median was 4.1×, Sass grew 2.13× and Tailwind grew 6.38×.
- github stars and bluesky posts: 17,000 stars and zero Bluesky repository links in the collector's window.
- 2026.stateofcss.com/en-US/other-tools: 297 respondents selected Less, compared with 2,032 for Sass.
Vouched for5.3
Who stands behind it being good?
Claude Opus 5.5: 4.0, likely 3.0 to 6.0
Less was long backed by Bootstrap 3 and Ant Design, but both have moved on, so those endorsements are old. Current independent write-ups treat it as a legacy alternative to Sass, and the surveys show low and falling use. Bundler support (Vite, less-loader) is still first-class.
- 2025.stateofcss.com/en-US/other-tools: Overall preprocessor use is falling, and Less trails Sass and PostCSS.
- dev.to/nickbenksim/why-use-css-nesting-instead-of-sass-and-less-19jm: Write-ups recommend native CSS over Less.
- Bootstrap 4+ / Ant Design 5: Both major past backers moved away from Less.
GPT-6.2 Sol: 6.6, likely 5.4 to 7.7
UIkit uses Less.js to build its styles, XWiki updated its Less.js dependency to 4.9.1, and Vite and webpack maintain integrations. Ant Design dropped Less from its React package in v5 when it changed its theming system. The older benchmark and current integrations tell us more about build compatibility than recent developer satisfaction.
- github.com/uikit/uikit/blob/develop/package.json: UIkit declares Less and uses it in its stylesheet build.
- jira.xwiki.org/browse/XWIKI-25185: XWiki Platform upgraded its Less.js dependency to 4.9.1.
- vite.dev/guide/features: Vite provides built-in integration for .less files.
- webpack.js.org/loaders/less-loader: webpack documents its maintained Less loader.
- 5x.ant.design/docs/react/migration-v5: Ant Design removed Less sources and variable exports in v5.
- github.com/postcss/benchmark: An external benchmark measured Less against several CSS processors.
Safe7.2
How safe is it to depend on?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
No advisories in OSV, only 2 runtime dependencies and a permissive Apache-2.0 licence. Releases are published by GitHub Actions with signed commits. The Scorecard is a middling 5.2, with zero on token permissions, pinned dependencies, SAST and fuzzing. Inline JavaScript evaluation is off by default since 3.0.
- advisories total: 0 known advisories.
- npm dependencies: 2 dependencies.
- scorecard score: 5.2 overall, with weak Token-Permissions, Pinned-Dependencies and SAST checks.
- github.com/less/less.js/releases: Releases are published by the github-actions bot.
GPT-6.2 Sol: 7.3, likely 6.1 to 8.4
OSV lists zero advisories, the licence is permissive Apache-2.0, and Less has two required dependencies plus seven optional ones. The project uses npm trusted publishing and removed a postinstall script that users reported could hang installation in 4.5.1. OpenSSF Scorecard gives it 5.2, with zero marks for token permissions and dependency pinning. Limited visibility into branch protection and release approval keeps the range wide.
- advisories total and npm license and dependencies: Zero OSV advisories, Apache-2.0 and two required dependencies.
- github.com/less/less.js/blob/v4.9.1/packages/less/package.json: The stable manifest also declares seven optional dependencies.
- github.com/less/less.js/blob/v4.9.1/.github/workflows/publish.yml: The release workflow uses OIDC for npm trusted publishing.
- github.com/less/less.js/issues/4396: A user reported an install hang caused by the 4.5.1 postinstall script.
- github.com/less/less.js/pull/4415: The 4.6.0 release removed the script from the published package.
- scorecard score and checks: 5.2 overall, with weak token permissions and pinning checks and no branch protection result.
Good
- Syntax close to CSS, with variables, mixins, guards and operations that are easy to learn.
- Still actively maintained: 4.x releases in 2026 and a Less 5 compiler rewrite in public alpha.
- Small install with only 2 dependencies, an Apache-2.0 licence and no known advisories.
- Works out of the box in Vite, webpack (less-loader) and most other bundlers.
Bad
- Native CSS nesting, custom properties and Sass now cover its job, and survey use is far below Sass.
- The package ships no bundled TypeScript types for its JS API and needs @types/less.
- Less 5 is not a drop-in replacement for 4.x, so an upgrade with breaking changes is coming.
- Downloads grow far slower than the category median, so it is losing ground to Sass, utility CSS and CSS-in-JS.
The numbers
- npm downloads, 4 weeks
- 58M +78% in a year
- GitHub stars
- 17k
- Commits, 12 months
- 84
- npm version
- 4.9.1 Sept 2026
- Versions, 12 months
- 14
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- 5.2 out of 10, Nov 2026
- Licence
- Apache-2.0
Read on 21 November 2026 from GitHub (less/less.js), npm (less), OSV and the OpenSSF Scorecard.
CSS and styling tools
- 8.8Tailwind CSS
- 7.9PostCSS
- 7.8Lightning CSS
- 7.4Panda CSS
- 7.4Sass
- 7.1UnoCSS
- 7.1vanilla-extract
- 5.8styled-components
- 5.1Less
- 5.1Emotion