
StyleX
JavaScript styling library whose build-time compiler turns style definitions into atomic CSS class names.
StyleX is a styling library for JavaScript user interfaces. A build-time compiler, run through a Babel or PostCSS plugin or the StyleX CLI, turns style definitions into a static CSS file of atomic class names, and the runtime package is installed from npm in every project that uses it. The docs call StyleX a CSS-in-JS library that is most useful when an application’s UI is authored in JavaScript, and they state that it is framework-agnostic rather than a CSS-in-React solution. Meta Platforms, Inc. maintains the project in a monorepo, and this record covers its core package.
Identity
Rendering and deploy
- Install with
- npm5
Releases
Adoption
Sources
- 2026-10-28: links
stylexjs.com/ - 2026-10-28: links, Written in, GitHub stars
api.github.com/repos/facebook/stylex - 2026-10-28: links, Categories
stylexjs.com/docs/learn/ - 2026-10-28: Maintainer, License, License model
github.com/facebook/stylex/blob/main/LICENSE - 2026-10-28: Install with
stylexjs.com/docs/learn/installation/ - 2026-10-28: Current major version, Last release
api.github.com/repos/facebook/stylex/releases - 2026-10-28: First release
registry.npmjs.org/@stylexjs/stylex - 2026-10-28: Contributors
api.github.com/repos/facebook/stylex/contributors - 2026-10-28: npm downloads a week
api.npmjs.org/downloads/range/2026-09-28:2026-10-04/@stylexjs/stylex - 2026-10-28: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@stylexjs%2Fstylex