facebook/stylex

StyleX is the styling system for ambitious user interfaces.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 28 minutes ago
Added to GitGenius on September 6th, 2026
Created on December 8th, 2022
Open Issues & Pull Requests: 227 (+0)
GitHub issues: Enabled
Number of forks: 473
Total Stargazers: 10,188 (+2)
Total Subscribers: 53 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 13.3 hours
Mean response time: 18.7 days
90th percentile: 47.7 days
Tracked items: 276

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 63% of open issues come from outside the core team, a mix of external reports and the maintainers' own roadmap. 66% of tracked open issues have had no activity in three months, so the open count overstates what is actively being worked. Only 6% of issues opened in the past year have been closed. Three people close 84% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 115
New in 7 days: 2
Closed in 7 days: 5
Avg open age: 392 days
Stale 30+ days: 104
Stale 90+ days: 81

Recent activity

Opened in 7 days: 2
Closed in 7 days: 4
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (141)
  • enhancement (90)
  • help wanted (28)
  • good first issue (26)
  • documentation (10)
  • question (4)
  • Process (1)
  • RFC (1)

Most active issues this week

Detailed Description

StyleX is a JavaScript library for defining styles that are optimized for user interface performance.

StyleX addresses the challenge of writing scalable, maintainable CSS for complex applications by providing a system that compiles style definitions at build time rather than runtime. The library uses a compile-time approach where styles are defined through JavaScript and transformed into optimized CSS output. This strategy enables the tool to perform static analysis and optimization, reducing the amount of CSS shipped to browsers and improving overall application performance.

Teams building ambitious user interfaces with performance constraints should consider StyleX. The project is structured as a monorepo containing multiple packages including a Babel plugin for JavaScript transformation, PostCSS and Rollup integrations for different build environments, a CLI tool, and an ESLint plugin for development-time checks. This modular architecture means developers can integrate StyleX into existing build pipelines rather than requiring a complete toolchain replacement. The library is suitable for projects where CSS-in-JS performance and bundle size optimization are priorities.

The project maintains active development with a structured contribution process documented in a contributing guide. The monorepo includes benchmarking packages alongside the core library, indicating ongoing attention to performance characteristics. Build and test infrastructure is managed through GitHub Actions workflows, and the project welcomes external contributions through pull requests. Development is organized around a workspace structure that allows independent building and testing of individual packages within the monorepo.