Skip to content
E

Emotion

High-performance CSS-in-JS style composition

by emotion-jsOpen source

#141in UI Libraries
0In stores

Description

Emotion is a CSS-in-JS library for styling apps in JavaScript. It describes itself as the next generation of CSS-in-JS, and its README says…

Highlights

  • String and object styles
  • Predictable style composition
  • Avoids specificity problems
  • Source maps for debugging
  • Emotion 11 release

Ratings & Reviews

No ratings yet

Be the first to rate Emotion.

People also visit

S

style-it

Component for writing plaintext CSS in React apps -- isomorphic, scoped

UI Libraries
Launch
S

Styled components

Build beautifully UI Components, for your applications & websites

Utilities
Launch
S

styled-components

Visual primitives for the component age

UI Libraries
Launch
S

shipstyles

Zero-config runtime styles

UI Libraries
Launch
S

Stitches

CSS-in-JS with near-zero runtime, SSR, multi-variant support

Developer Tools
Launch
R

react-emoji-render

Render emoji's the way your users expect

UI Libraries
Launch

Emotion FAQ

What is Emotion?

A CSS-in-JS library for styling apps with JavaScript.

Which style syntax does it support?

Both string styles and object styles.

How does it handle specificity?

The README says its composition is predictable, which avoids the specificity issues of CSS.

Can I debug the styles?

Yes. It includes source maps.

Where can I try it?

A demo sandbox is linked from the project, next to the docs.

What are the best Emotion alternatives?

Popular alternatives to Emotion include style-it, styled-components and shipstyles. See all Emotion alternatives

Developer Stuff

Badges