
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
github.com/michelebertoli/css-in-js
React: CSS in JS techniques comparison.
Inside each package folder, run:
npm i
npm run build && open index.html
How to read the table
More ticks doesn't mean "better", it depends on your needs. For example, if a package supports the css file extraction you can run the autoprefixing at build time.
Package | Version | Automatic Vendor Prefixing | Pseudo Classes | Media Queries | Styles As Object Literals | Extract CSS File | Package Stats |
---|---|---|---|---|---|---|---|
aphrodite | 1.2.3 | β | β | β | β | β | |
babel-plugin-css-in-js | 1.2.2 | β | β | β | β | β | |
babel-plugin-pre-style | 1.0.9-alpha | β | β | β | β | ||
bloody-react-styled | 3.0.0 | β | β | ||||
classy | 0.3.0 | β | β | β | |||
csjs | 1.0.0 | β | β | ||||
css-constructor | 0.1.1 | β | β | β | |||
css-light | 1.1.0 | β | β | β | β | ||
css-loader | 0.15.6 | β | β | β | |||
css-ns | 1.0.0 | β | β | β | |||
cssobj | 0.2.21 | β | β | β | β | ||
cssx | 3.8.0 | β | β | β | β | ||
cxs | 6.2.0 | β | β | β | β | ||
electron-css | 0.6.0 | β | β | β | |||
emotion | 6.0.3 | β | β | β | β | β | |
es-css-modules | 1.2.3 | β | β | β | |||
freestyler | 1.5.0 | β | β | β | β | ||
glamor | 2.1.0 | β | β | β | β | β | |
glamorous | 4.12.5 | β | β | β | β | β | |
hyperstyles | 3.3.0 | β | β | β | |||
i-css | 1.0.4 | β | β | β | β | ||
j2c | 0.10.0 | β | β | β | β | ||
jsxstyle | 2.1.1 | β | β | β | β | ||
linaria | 0.5.0 | β | β | β | β | β | |
nano-css | 0.1.0 | β | β | β | β | β | |
pre-style | 1.0.9-alpha | β | β | β | |||
radium | 0.13.5 | β | β | β | β | ||
react-css-builder | 0.2.0 | β | |||||
react-css-components | 0.6.9 | β | β | β | |||
react-css-modules | 3.0.2 | β | β | β | |||
react-cssom | 1.0.0 | β | β | β | |||
react-fela | 2.1.0 | β | β | β | β | β | |
react-free-style | 0.6.0 | β | β | β | β | ||
react-inline-css | 1.2.0 | β | β | ||||
react-inline-style | 0.1.0 | β | β | β | β | ||
react-inline | 0.6.3 | β | β | β | β | β | |
react-jss | 2.0.5 | β | β | β | β | β | |
react-look | 0.6.1 | β | β | β | β | ||
react-native-web | 0.0.11 | β | β | β | |||
react-statics-styles | 3.0.2 | β | β | β | |||
react-styl | 0.0.1 | β | β | ||||
react-style | 0.5.5 | β | β | β | |||
react-styleable | 1.4.0 | β | β | β | |||
react-stylematic | 1.0.1 | β | β | β | β | β | |
react-theme | 0.1.4 | β | |||||
react-vstyle | 0.1.0 | β | β | β | β | β | |
reactcss | 0.3.2 | β | β | ||||
restyles | 2.0.1 | β | β | β | β | ||
scope-styles | 0.6.0 | β | β | β | β | ||
smart-css | 1.1.1 | β | β | β | |||
stile ___________________________ react-media-queries | 2.0.0 | β | β | β | ____________ | ||
stilr | 1.1.0 | β | β | β | β | ||
stylable | 5.0.2 | β | β | β | |||
style-it | 1.2.9 | β | β | ||||
styled-components | 3.2.6 | β | β | β | |||
styled-jsx | 0.0.7 | β | β | β | β | ||
styletron-react | 2.1.2 | β | β | β | β | β | |
styling | 0.2.0 | β | β | β | |||
superstyle | 1.0.0-1 | β | |||||
@thi.ng/hiccup-css | 0.2.0 | β | β | β | β | β | |
typestyle | 0.22.3 | β | β | β | β | ||
uranium | 0.1.2 | β | β |
This list has been auto-updated (?) on August 8, 2018
"Wow, this totally makes my week!" - Dan Abramov
"nice compilation of css-in-js techniques" - TJ Holowaychuk
SurviveJS / Styling React by Juho VepsΓ€lΓ€inen
The Case for CSS Modules by Mark Dalgleish
First Class Styles by Mark Dalgleish
Styling React.JS applications by Max Stoiber
If your package is not listed here, feel free to add it.
package-name
in the root folder.ReadmeSrc/.env_example
to ReadmeSrc/.env
and set a Github access token to retrieve data from Github.cd ReadmeSrc && yarn && yarn update-data && yarn generate-readme
.FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.