Coder Social home page Coder Social logo

css-in-js's Introduction

CSS in JS

React: CSS in JS techniques comparison.

Usage

Inside each package folder, run:

npm i
npm run build && open index.html

Features

How to read the table

More crosses 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
aphrodite 0.1.2 x x x x x
babel-plugin-css-in-js 1.2.2 x x x x x
bloody-react-styled 3.0.0 x x
classy 0.3.0 x x x
csjs 1.0.0 x x
css-constructor 0.1.1 x x x
css-loader 0.15.6 x x x
css-ns 1.0.0 x x x
cssobj 0.2.21 x x x x
cssx-loader 3.8.0 x x x x
es-css-modules 1.2.3 x x x
glamor 2.1.0 x x x x x
hyperstyles 3.3.0 x x x
j2c 0.10.0 x x x x
jsxstyle 0.0.14 x x
radium 0.13.5 x x x x
react-css-builder 0.2.0 x
react-css-components 0.6.9 x x x
react-css-modules 3.0.2 x x x
react-cxs 1.0.0-beta.4 x x x x
react-fela 2.1.0 x x x x x
react-free-style 0.6.0 x x x x
react-inline-css 1.2.0 x x
react-inline-style 0.1.0 x x x x
react-inline 0.6.3 x x x x x
react-jss 2.0.5 x x x x x
react-look 0.6.1 x x x x
react-native-web 0.0.11 x x x
react-statics-styles 3.0.2 x x x
react-styl 0.0.1 x x
react-style 0.5.5 x x x
react-styleable 1.4.0 x x x
react-stylematic 1.0.1 x x x x x
react-theme 0.1.4 x
react-vstyle 0.1.0 x x x x x
reactcss 0.3.2 x x
scope-styles 0.6.0 x x x x
smart-css 1.1.1 x x x
stile + react-media-queries 2.0.0 x x x
stilr 1.1.0 x x x x
style-it 1.2.9 x x
styled-components 1.0.3 x x x
styled-jsx 0.0.7 x x x x
styletron-react 2.1.2 x x x x x
styling 0.2.0 x x x
typestyle 0.22.3 x x x x
uranium 0.1.2 x x

Testimonials

"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

Contributing

If your package is not listed here, feel free to add it.

css-in-js's People

Contributors

michelebertoli avatar martinandert avatar pygy avatar ybiquitous avatar rtsao avatar kof avatar threepointone avatar siddharthkp avatar rickwong avatar readmecritic avatar azazdeaz avatar ph101pp avatar necolas avatar bloodyowl avatar grigio avatar futurist avatar jacobp100 avatar grant avatar colingourlay avatar bradleyayers avatar basarat avatar

Watchers

James Cloos avatar Ronaldo Lima avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.