Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

StyleX

Meta's CSS-in-JS library for defining optimized component styles at scale.

Styling and CSSNPM

GitHubWebsite

1. License

License from npm.

github.com/facebook/stylex

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What StyleX does

Meta's CSS-in-JS library for defining optimized component styles at scale.

StyleX popularity

50 / 100
Gid Score, #2013 overall
2.6M
downloads a week, npm
10.5K
GitHub stars
1
agent projects use it
StyleX: downloads per weeknpm, @stylexjs/stylex 2,647,603

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How StyleX is used

  • StyleX joined the catalog on its public numbers (2,647,603 downloads a week on npm and 10,525 GitHub stars), not on our project count: it is a dependency in 6 public GitHub projects of our scan, 1 of them set up for AI coding agents.
  • The most used alternative in our scan is Tailwind CSS (2,040 projects).
  • Projects that use it most often also use React (100.0%), XY Flow (66.7%), Vite (66.7%).

Often used with

In 100.0% of its projects
In 66.7% of its projects
In 66.7% of its projects
In 66.7% of its projects
In 50.0% of its projects
In 50.0% of its projects
In 50.0% of its projects
In 50.0% of its projects

More about StyleX

More in Styling and CSS

Alternatives

StyleX This page

MITGid 502.6M/wk

Tailwind CSS

Utility-first CSS framework for building custom user interfaces rapidly.

MITGid 9219M/wk

Emotion

CSS-in-JS library for styling React components with scoped styles and theming.

MITGid 7729.3M/wk

styled-components

CSS-in-JS library for styling React components with dynamic scoped styles.

MITGid 7515.1M/wk

Compare StyleX with another tool

Get started

Install it.

npm install @stylexjs/stylex

No step-by-step start for StyleX yet: we have not written its hand-checked card.