# meta/astryx

> astryx is an open source design system for product teams and the AI agents that work with them. Teams import pre-built CSS and typed React components, with no build plugin or styling library to adopt. A theme is a set of CSS custom property overrides, so a design change does not require forked components. The project is written in TypeScript and built on React 19 and StyleX.

Source: https://github.com/meta/astryx
Indexed: commit ad320a1 on 2026-11-19 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Language: TypeScript
- Stars: 31,757 at index time
- License: MIT
- Code health: 8.4/10, Good
- Last commit: 2026-11-19
- Contributors: 13

## Install

From the README: https://github.com/meta/astryx#getting-started

Install the core package, a theme and the StyleX runtime with npm.
    npm install @astryxdesign/core @astryxdesign/theme-neutral @stylexjs/stylex

Add the CLI to the project as a dev dependency.
    npm install -D @astryxdesign/cli

Optionally install the CLI once for your computer so it works in any folder.
    npm i -g @astryxdesign/cli

## How it works

The published packages live in packages/, which holds the core components and theme system, the CLI, the build plugins for StyleX source builds, and the ready-made themes. packages/cli/clients/cli/bin/astryx.mjs is the CLI entry point that provides component docs, templates, scaffolding, themes and codemods. Components are exported directly from the core package, and swizzle can eject a component's full source into a project. apps/ contains the example apps, the docsite and Storybook, which show the components in use. internal/ holds the test utilities, eslint plugin and vibe tests that support development of the project.

- apps/example-vite-tailwind/src/App.tsx: entry point
- apps/example-vite-tailwind/src/main.tsx: entry point
- apps/example-vite/src/App.tsx: entry point
- apps/example-vite/src/main.tsx: entry point
- apps/sandbox/src/main.tsx: entry point
Modules: packages, apps, internal, .github, scripts, root, .changeset. 11,404 files, 1,980,155 lines, 56,066 symbols.

## Code health

- Score: 8.4/10 (Good)
- Trend: 8.3 on 2026-11-09, 8.4 on 2026-11-12, 8.4 on 2026-11-19
- Rank: #39 of 4,000+ indexed repos
- Hotspots: packages/cli/api/theme-edit/_how-question.mjs, packages/cli/api/theme-edit/_edit.mjs, packages/cli/api/theme-edit/_settings.mjs, packages/cli/api/theme-edit/_check.mjs, packages/cli/clients/cli/commands/experimental/theme.mjs
- Lowest file: packages/cli/api/theme-edit/_settings.mjs
- Dead code: 73 findings

## Maintenance

- Last commit 2026-11-19, 500 commits
- 13 contributors, bus factor 1

## Security

- Security findings are shown to signed-in users at https://repowise.dev/repo/meta/astryx/security

## More

- Page: https://repowise.dev/repo/meta/astryx
- Ask this codebase: https://repowise.dev/repo/meta/astryx/chat
- Docs: https://repowise.dev/repo/meta/astryx/docs
- MCP (signs in with Repowise on first use):
    claude mcp add --transport http repowise https://api.repowise.dev/mcp/meta/astryx
