Compiled
Compile-time CSS-in-JS library for React that writes its styles out as atomic CSS.
compiledcssinjs.comrepositorydocs
Compiled is a compile-time CSS-in-JS library for React, maintained by Atlassian. It parses styles written in JavaScript transforms them, and outputs them as atomic CSS, with the style sheets produced at compile time. Using it means adding a plugin for the bundler in use or configuring Babel directly, as the installation guide describes.
Worth knowing
Atlassian does not officially support Compiled outside its own products and the Atlassian ecosystem, as the contributing guide says. The docs’ limitations page lists dynamic selectors and indirect selectors among the things the compile-time design cannot handle, and it says the older Styled API will eventually be retired.
Identity
Rendering and deploy
- Install with
- npm3
Releases
Adoption
Sources
- 2026-10-26: links
api.github.com/repos/atlassian-labs/compiled - 2026-10-26: links, Written in, License, License model, GitHub stars
github.com/atlassian-labs/compiled - 2026-10-26: links, Install with
github.com/atlassian-labs/compiled/blob/master/website/packages/docs/src/pages/installation.mdx - 2026-10-26: First release, Current major version, Last release
registry.npmjs.org/@compiled/react - 2026-10-26: Maintainer
github.com/atlassian-labs/compiled/blob/master/CONTRIBUTING.md - 2026-10-26: Categories, Built on
github.com/atlassian-labs/compiled/blob/master/website/packages/docs/src/pages/about-compiled.mdx - 2026-10-26: Contributors
api.github.com/repos/atlassian-labs/compiled/contributors - 2026-10-28: npm downloads a week
api.npmjs.org/downloads/range/2026-09-28:2026-10-04/@compiled/react - 2026-10-26: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@compiled/react