Skip to content
JS
Package category

CSS-in-JS and styling

Style components with JavaScript, utility classes or CSS tooling.

1,081 packages20 comparisons

Packages compared

1,081 packages
PackageWeekly downloads12-month change52 weeksGzipLast releaseModuleTypesCategories
postcss-modules
PostCSS plugin to use CSS Modules everywhere
2.7m+64%-2 months ago
9.0.1
CommonJSBundledCSS-in-JS and styling
lightningcss-linux-arm-gnueabihf
A CSS parser, transformer, and minifier written in Rust
2.7m+235%-2 months ago
1.33.0
CommonJSNoneParsers and serialisers, Build tools
cssnano-util-get-arguments
Get a list of arguments, separated by a comma.
2.7m-5%-8 years ago
4.0.0
CommonJSNoneCSS-in-JS and styling
cssnano-util-get-match
Convert a list of keywords into a single keyword match.
2.7m-5%-8 years ago
4.0.0
CommonJSNoneCSS-in-JS and styling
parse-css-color
parse a css color string
2.7m+595%-4 years ago
0.2.1
ESM + CommonJSBundledCSS-in-JS and styling, Strings and text
lightningcss-freebsd-x64
A CSS parser, transformer, and minifier written in Rust
2.7m+227%-2 months ago
1.33.0
CommonJSNoneParsers and serialisers, Build tools
cssnano-util-raw-cache
Manages the raw value formatting for generated AST nodes.
2.6m-10%-8 years ago
4.0.1
CommonJSNoneCSS-in-JS and styling
cssnano-util-same-parent
Check that two PostCSS nodes share the same parent.
2.6m-8%-8 years ago
4.0.1
CommonJSNoneCSS-in-JS and styling
filing-cabinet
Find files based on partial paths
2.6m+60%-4 months ago
6.0.0
ESM onlyNoneCSS-in-JS and styling
dependency-tree
Get the dependency tree of a module
2.6m+62%-3 months ago
12.0.1
ESM onlyBundledCSS-in-JS and styling, TypeScript tooling
sass-lookup
Get the file associated with a Sass import
2.6m+60%-4 months ago
7.0.0
ESM onlyNoneCSS-in-JS and styling
stylus-lookup
Get the file associated with an imported/required Stylus partial
2.6m+51%-4 months ago
7.0.0
ESM onlyNoneCSS-in-JS and styling
esbuild-linux-64
The Linux 64-bit binary for esbuild, a JavaScript bundler.
2.5m-24%-3 years ago
0.15.18
-NoneBundlers, CSS-in-JS and styling
emmet
Emmet — the essential toolkit for web-developers
2.5m+491%-2 years ago
2.4.11
ESM + CommonJSBundledCSS-in-JS and styling
@csstools/postcss-logical-resize
Use logical values in the resize property
2.4m+44%-8 months ago
4.0.0
ESM onlyBundledCSS-in-JS and styling
stylus
Robust, expressive, and feature-rich CSS superset
2.4m+2%-1 year ago
0.64.0
CommonJSNoneCSS-in-JS and styling
nano-css
Smallest 5th gen CSS-in-JS library
2.4m+34%-2 years ago
5.6.2
CommonJSBundledCSS-in-JS and styling
lightningcss-android-arm64
A CSS parser, transformer, and minifier written in Rust
2.3m+4753%-2 months ago
1.33.0
CommonJSNoneParsers and serialisers, Build tools
@fontsource/inter
Self-host the Inter font in a neatly bundled NPM package.
2.2m+370%-2 months ago
5.3.0
CommonJSBundledCSS-in-JS and styling
@csstools/postcss-exponential-functions
Use pow(), sqrt(), hypot(), log(), exp() exponential functions in CSS
2.2m+70%-12 days ago
3.0.6
ESM onlyBundledCSS-in-JS and styling, Logging
jss
A lib for generating Style Sheets with JavaScript.
2.1m-4%-3 years ago
10.10.0
ESM + CommonJSBundledCSS-in-JS and styling
@csstools/postcss-content-alt-text
Generate fallback values for content with alt text
2.1m+91%-18 days ago
3.0.4
ESM onlyBundledCSS-in-JS and styling
postcss-zindex
Reduce z-index values with PostCSS.
1.9m+64%-8 days ago
9.0.3
ESM onlyBundledCSS-in-JS and styling
postcss-discard-unused
Discard unused counter styles, keyframes and fonts.
1.9m+73%-8 days ago
9.0.3
ESM onlyBundledCSS-in-JS and styling
postcss-reduce-idents
Reduce custom identifiers with PostCSS.
1.9m+73%-8 days ago
9.0.3
ESM onlyBundledCSS-in-JS and styling
postcss-merge-idents
Merge keyframe and counter style identifiers.
1.9m+73%-8 days ago
9.0.3
ESM onlyBundledCSS-in-JS and styling
color2k
a color parsing and manipulation lib served in roughly 2kB
1.8m+68%-2 months ago
2.0.4
ESM + CommonJSBundledCSS-in-JS and styling
postcss-selector-matches
PostCSS plugin to transform :matches() W3C CSS pseudo class to more compatible CSS selectors
1.8m-13%-8 years ago
4.0.0
CommonJSNoneCSS-in-JS and styling
postcss-sorting
PostCSS plugin to keep rules and at-rules content in order.
1.8m+6%-6 months ago
10.0.0
-NoneCSS-in-JS and styling
jss-plugin-default-unit
JSS plugin that adds default custom unit to numeric values where needed
1.8m-2%-3 years ago
10.10.0
ESM + CommonJSBundledCSS-in-JS and styling
jss-plugin-global
Global styles for JSS
1.8m-2%-3 years ago
10.10.0
ESM + CommonJSBundledCSS-in-JS and styling
jss-plugin-camel-case
JSS plugin that allows to write camel cased rule properties
1.8m-8%-3 years ago
10.10.0
ESM + CommonJSBundledCSS-in-JS and styling
css-vendor
CSS vendor prefix detection and property feature testing.
1.8m-1%-6 years ago
2.0.8
ESM + CommonJSNoneCSS-in-JS and styling
jss-plugin-vendor-prefixer
JSS plugin that handles vendor prefixes in the browser
1.8m-1%-3 years ago
10.10.0
ESM + CommonJSBundledCSS-in-JS and styling
jss-plugin-rule-value-function
JSS plugin for function value and rule syntax
1.8m-2%-3 years ago
10.10.0
ESM + CommonJSBundledCSS-in-JS and styling
sugarss
Indent-based CSS syntax for PostCSS
1.7m-5%-1 year ago
5.0.1
ESM + CommonJSNoneCSS-in-JS and styling
postcss-color-gray
Use the gray() color function in CSS
1.7m-13%-7 years ago
5.0.0
ESM + CommonJSNoneCSS-in-JS and styling
jss-plugin-nested
JSS plugin that enables support for nested selectors
1.7m-8%-3 years ago
10.10.0
ESM + CommonJSBundledCSS-in-JS and styling
postcss-color-mod-function
Modify colors using the color-mod() function in CSS
1.7m-10%-1 year ago
4.1.1
ESM + CommonJSNoneCSS-in-JS and styling
material-colors
Colors of Google's Material Design made available to coders
1.7m+29%-8 years ago
1.2.6
ESM + CommonJSNoneCSS-in-JS and styling
rtlcss
Framework for transforming cascading style sheets (CSS) from left-to-right (LTR) to right-to-left (RTL)
1.7m+95%-2 years ago
4.3.0
CommonJSNoneCSS-in-JS and styling
jss-plugin-props-sort
JSS plugin that ensures style properties extend each other instead of override
1.7m-0%-3 years ago
10.10.0
--CSS-in-JS and styling
style-value-types
Parsers, transformers and tests for special value types, eg: %, hex codes etc.
1.7m+34%-4 years ago
5.1.2
ESM + CommonJSBundledCSS-in-JS and styling, Image processing
use-resize-observer
A React hook that allows you to use a ResizeObserver to measure an element's size.
1.7m-5%-1 month ago
10.0.0
--React, CSS-in-JS and styling
babel-plugin-emotion
A recommended babel preprocessing plugin for emotion, The Next Generation of CSS-in-JS.
1.6m-13%-5 years ago
11.0.0
--CSS-in-JS and styling
postcss-html
PostCSS syntax for parsing HTML (and HTML-like)
1.5m+4%-1 month ago
2.0.0
--CSS-in-JS and styling
@csstools/postcss-alpha-function
Use the alpha() function in CSS
1.5m---12 days ago
2.0.13
--CSS-in-JS and styling
style-dictionary
Style once, use everywhere. A build system for creating cross-platform styles.
1.5m+151%-4 days ago
5.5.5
--CSS-in-JS and styling
node-sass
Wrapper around libsass
1.4m-13%-3 years ago
9.0.0
CommonJSNoneCSS-in-JS and styling
@fontsource-variable/geist
Self-host the Geist font in a neatly bundled NPM package.
1.4m---2 months ago
5.3.0
--CSS-in-JS and styling

12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package, as measured by Bundlephobia. "-" means the value has not been fetched.