10 Best Vanilla JavaScript CSS-in-JS Libraries

List hand-picked by Openbase Experts
Learn More

postcss

Transforming styles with JS plugins

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.8/ 5
118
Top Feedback
17Highly Customizable
16Great Documentation
14Performant
GitHub Stars
26K
Weekly Downloads
53M
Last Commit
2mos ago

stylelint

A mighty, modern linter that helps you avoid errors and enforce conventions in your styles.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.8/ 5
16
Top Feedback
9Great Documentation
7Easy to Use
3Performant
GitHub Stars
9K
Weekly Downloads
2M
Last Commit
1mo ago

jss

JSS is an authoring tool for CSS which uses JavaScript as a host language.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.3/ 5
6
Top Feedback
4Easy to Use
2Great Documentation
2Performant
GitHub Stars
7K
Weekly Downloads
2M
Last Commit
1mo ago

emotion

👩‍🎤 CSS-in-JS library designed for high performance style composition

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.5/ 5
17
Top Feedback
11Great Documentation
10Easy to Use
7Highly Customizable
GitHub Stars
14K
Weekly Downloads
557K
Last Commit
1mo ago

polished

A lightweight toolset for writing styles in JavaScript ✨

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.6/ 5
9
Top Feedback
3Great Documentation
3Easy to Use
2Performant
GitHub Stars
7K
Weekly Downloads
3M
Last Commit
3mos ago

styled-jsx

Full CSS support for JSX without compromises

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.8/ 5
4
Top Feedback
2Great Documentation
2Easy to Use
2Highly Customizable
GitHub Stars
7K
Weekly Downloads
2M
Last Commit
2mos ago
goo

goober

🥜 goober, a less than 1KB 🎉 css-in-js alternative with a familiar API

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.7/ 5
3
Top Feedback
2Performant
2Responsive Maintainers
1Great Documentation
GitHub Stars
2K
Weekly Downloads
142K
Last Commit
1mo ago

astroturf

An "artificial" CSS-in-JS for those that want it all.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
2
Top Feedback
1Easy to Use
1Performant
GitHub Stars
2K
Weekly Downloads
6K
Last Commit
3mos ago
ss

styled-system

Responsive, theme-based style props for building design systems with React

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
1Easy to Use
1Highly Customizable
GitHub Stars
N/A
Weekly Downloads
441K
Last Commit
N/A

facepaint

Responsive style values for css-in-js.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
545
Weekly Downloads
29K
Last Commit
3yrs ago
nc

nano-css

Distilled CSS-in-JS for gourmet developers

License Icon
License: Unlicense
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
364
Weekly Downloads
545K
Last Commit
6mos ago

@frontmeans/style-producer

Produces and dynamically updates stylesheets

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
13
Last Commit
1mo ago

aphrodite

Framework-agnostic CSS-in-JS with support for server-side rendering, browser prefixing, and minimum CSS generation

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
5K
Weekly Downloads
92K
Last Commit
1yr ago

styletron

⚡ Toolkit for component-oriented styling

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
3K
Weekly Downloads
1K
Last Commit
3mos ago
td

torus-dom

Torus is an event-driven model-view UI framework for the web, focused on being tiny, efficient, and free of dependencies.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
209
Weekly Downloads
180
Last Commit
3mos ago
cxs

cxs

Fast af css-in-js in under 1kb

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
19K
Last Commit
N/A
pic

picostyle

Ultra small CSS in JS library in 0.4 KB

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
344
Weekly Downloads
2K
Last Commit
3yrs ago
csj

csjs

✨ Modular, scoped CSS with ES6

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
578
Weekly Downloads
1K
Last Commit
5yrs ago
sb

styled-by

Simple and powerful lib to handle styled props in your components

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
128
Weekly Downloads
318
Last Commit
2yrs ago

j2c

CSS in JS library, tiny yet featureful

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
166
Weekly Downloads
167
Last Commit
5yrs ago

bankai

🚉 - friendly web compiler

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
1K
Weekly Downloads
110
Last Commit
2yrs ago

cssobj

Runtime CSS manager, Turn CSS into dynamic JS module, Stylesheet CRUD (Create, Read, Update, Delete) in CSSOM, name space (local) class names

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
261
Weekly Downloads
93
Last Commit
4yrs ago
yoc

yocss

> A zero-dependency, 1k CSS-in-JS library for purists.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
7
Last Commit
N/A
is

immutable-styles

A library for styling web interfaces with a focus on predictability and robustness. It uses immutability to remove side effects often tied to CSS, allowing UI bugs to be caught ahead of time!

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
70
Weekly Downloads
0
Last Commit
2yrs ago
cz

css-zero

Zero-runtime CSS-in-JS

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
1
Last Commit
N/A
fur

@jongold/further

🦄🌈🍄 algebraic style composition for functional UIs

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Not Found
User RatingN/A
Top Feedback
N/A
GitHub Stars
257
Weekly Downloads
1
Last Commit
5yrs ago