# @compiled/react

> A familiar and performant compile time CSS-in-JS library for React.

Latest version **2.0.0** (published 2026-08-25) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @compiled/react
pnpm add @compiled/react
yarn add @compiled/react
bun add @compiled/react
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2026-08-25 |
| First published | 2020-11-17 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 575.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2056 |
| Author | Michael Dougall |
| Maintainers | atlassianartifactteam |
| Keywords | compiled, css-in-js, styled-components, typescript |

## Links

- npm: https://www.npmjs.com/package/@compiled/react
- Repository: https://github.com/atlassian-labs/compiled
- Homepage: https://compiledcssinjs.com/docs/pkg-react
- Issues: https://github.com/atlassian-labs/compiled/issues/new?assignees=&labels=bug&template=bug_report.md
- npm.io page: https://npm.io/package/@compiled/react

## Dependencies (1)

- [csstype](https://npm.io/package/csstype.md) ^3.2.3

## Alternatives

- [style-dictionary](https://npm.io/package/style-dictionary.md) — 2.0M weekly downloads
- [postcss-merge-idents](https://npm.io/package/postcss-merge-idents.md) — 1.7M weekly downloads
- [@fontsource/noto-sans](https://npm.io/package/@fontsource/noto-sans.md) — 93.0K weekly downloads
- [uglifycss](https://npm.io/package/uglifycss.md) — 71.6K weekly downloads
- [mat4-interpolate](https://npm.io/package/mat4-interpolate.md) — 23.3K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2026-08-25
- 0.6.8-9797e0820dd193338953fd664f3284e110e089e3.0 (nightly) — 2021-03-16
- 0.5.4 (v0.5-latest) — 2021-01-15
- 1.0.2 — 2026-08-10
- 1.0.1 — 2026-08-07
- 1.0.0 — 2026-07-21
- 0.22.2 — 2026-06-30
- 0.22.1 — 2026-06-22
- 0.22.0 — 2026-06-18
- 0.21.3 — 2026-06-15
- 0.21.2 — 2026-05-12
- 0.21.1 — 2026-04-30
- 0.21.0 — 2026-04-20
- 0.20.0 — 2026-02-23
- 0.19.1 — 2026-02-16
- … 147 more at https://npm.io/package/@compiled/react/versions

## README

# @compiled/react

The primary entrypoint package for Compiled.

## Installation

```bash
npm i @compiled/react
```

## Usage

Detailed docs and example usage can be [found on the documentation website](https://compiledcssinjs.com/docs/pkg-react).

---
_Source: https://npm.io/package/@compiled/react · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
