FindSoftware

Emotion

CSS-in-JS library for writing styles with JavaScript, with packages for React and for other frameworks.

Emotion is a CSS-in-JS library: styles are written in JavaScript, as strings or objects, and turned into class names. The introduction page describes two ways to use it. The @emotion/css package is framework agnostic and needs no additional setup, babel plugin or other configuration change. The @emotion/react package is for React and adds a css prop and theming, and @emotion/styled adds a styled API for React components.

Worth knowing

The React package requires React, so it cannot be used without it. Server-side rendering with the framework-agnostic package needs additional work to set up, while the React package renders on the server with zero configuration, according to the introduction page.

Identity

Status
Active
Maintainer
Emotion team4
Maintained by
Community4
First release
20173

Rendering and deploy

Install with
npm15

Releases

Current major version
116
Last release
2024-12-096

Adoption

GitHub stars
18,0232
npm downloads a week
24,906,3827
Contributors
3042
Sites using it (HTTP Archive)
163,6329
Dependent repositories
273,3318
Dependent packages
12,5868

Why these figures do not compare

Sources

  1. 2026-10-26: links, Categories, Install with
    emotion.sh/docs/introduction
  2. 2026-10-26: links, Written in, License, License model, GitHub stars, Contributors
    github.com/emotion-js/emotion
  3. 2026-10-26: First release
    github.com/emotion-js/emotion/releases/tag/v6.0.0
  4. 2026-10-26: Maintainer, Maintained by, License
    github.com/emotion-js/emotion/blob/main/LICENSE
  5. 2026-10-26: Install with
    emotion.sh/docs/install
  6. 2026-10-26: Current major version, Last release
    github.com/emotion-js/emotion/releases/tag/@emotion/react@11.14.0
  7. 2026-10-28: npm downloads a week
    api.npmjs.org/downloads/range/2026-09-28:2026-10-04/@emotion/react
  8. 2026-10-26: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/%40emotion%2Freact
  9. 2026-10-26: Sites using it (HTTP Archive)
    cdn.httparchive.org/v1/technologies

Last reviewed · Updated · Listed since Edit on GitHubThis page as markdownas JSON