MCPcopy Index your code
hub / github.com/atlassian-labs/compiled

github.com/atlassian-labs/compiled @v0.6.7

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.6.7 ↗ · + Follow
395 symbols 937 edges 201 files 13 documented · 3% updated 2d ago@compiled/react@0.22.2 · 2026-06-30★ 2,051119 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Compiled

Build time atomic CSS-in-JS. Baked and ready to serve.

Apache 2.0 @compiled/react PRs welcome

Get started now ➚

Usage

import { styled, ClassNames } from '@compiled/react';

// Tie styles to an element




// Create a component that ties styles to an element
const StyledButton = styled.button`
  color: ${(props) => props.color};
`;

// Use a component where styles are not necessarily tied to an element
<ClassNames>
  {({ css }) => children({ className: css({ fontSize: 12 }) })}
</ClassNames>

Installation

Install the React package.

npm install @compiled/react

Then configure your bundler of choice or use Babel directly.

Webpack

Install the Webpack loader.

npm install @compiled/webpack-loader --save-dev

See installation for more information.

Parcel

Note

Parcel v2 is currently in pre-release which makes this transformer experimental, it may break when updating Parcel. Use with caution.

Install the Parcel v2 transformer.

npm install @compiled/parcel-transformer --save-dev

See installation for more information.

Babel

Install the Babel plugin.

npm install @compiled/babel-plugin --save-dev

See installation for more information.

Contributions

Contributions are welcomed! Please see CONTRIBUTING.md to get started.

Thanks

Chromatic

Thanks to Chromatic for providing the visual testing platform that helps us review UI changes and catch visual regressions.


Atlassian

Extension points exported contracts — how you extend this code

DOMAttributes (Interface)
(no doc)
packages/react/src/index.tsx
Container (Interface)
(no doc)
packages/utils/types/postcss-selector-parser.d.ts
MatchFilter (Interface)
(no doc)
packages/jest/src/types.tsx
ExecSh (Interface)
(no doc)
packages/cli/types/exec-sh.d.ts
Container (Interface)
(no doc)
packages/css/types/postcss-selector-parser.d.ts
Asset (Interface)
(no doc)
packages/parcel-transformer/types/parcel__plugin.d.ts
Api (Interface)
(no doc)
packages/babel-plugin/types/babel__helper-plugin-utils.d.ts
TSProps (Interface)
(no doc)
examples/packages/parcel/src/ts.tsx

Core symbols most depended-on inside this repo

toHaveCompiledCss
called by 57
packages/jest/src/index.tsx
transformCss
called by 32
packages/css/src/utils/css-transform.tsx
cssBeforeInterpolation
called by 20
packages/css/src/utils/string-interpolations.tsx
load
called by 20
packages/babel-plugin/src/utils/cache.tsx
cssAfterInterpolation
called by 19
packages/css/src/utils/string-interpolations.tsx
parse
called by 11
packages/parcel-transformer/src/transformer.tsx
evaluateExpression
called by 11
packages/babel-plugin/src/utils/evaluate-expression.tsx
ax
called by 10
packages/react/src/runtime/ax.tsx

Shape

Function 317
Interface 42
Method 28
Class 8

Languages

TypeScript100%

Modules by API surface

packages/babel-plugin/src/utils/ast.tsx25 symbols
packages/babel-plugin/src/utils/ast-builders.tsx21 symbols
packages/parcel-transformer/types/parcel__plugin.d.ts19 symbols
packages/react/src/codemods/codemods-helpers.tsx14 symbols
packages/babel-plugin/src/utils/cache.tsx14 symbols
packages/babel-plugin/src/utils/css-builders.tsx11 symbols
packages/babel-plugin/src/utils/evaluate-expression.tsx10 symbols
packages/jest/src/matchers.tsx9 symbols
packages/css/src/plugins/atomicify-rules.tsx9 symbols
packages/babel-plugin/src/babel-plugin.tsx9 symbols
examples/stories/class-names-dynamic.tsx8 symbols
packages/react/src/codemods/emotion-to-compiled/emotion-to-compiled.tsx7 symbols

For agents

$ claude mcp add compiled \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page