Skip to content

What Is Astryx? Meta's Open-Source Design System: Setup, Use With AI Agents, MCP, Themes and Is It Free

You add Astryx to your project and tell your coding agent "build an orders table page for the client dashboard"; the agent reads the ready-made template and how to use each component from the Astryx command-line tool (CLI) and builds the page from that template. You get a React interface whose buttons, tables, forms and colors are consistent, with dark mode ready. Astryx is Meta's open-source (MIT) design system: more than 150 components, seven themes, page templates and docs written for agents. It isn't a no-code app but a library you install in a React 19 project; it is currently in beta.

What is Astryx?

Meta's open-source (MIT) React design system: ready-made components, seven themes, page templates and a command-line tool that coding agents use too. It is currently in beta.

How do you use Astryx with MCP?

The npx @astryxdesign/cli mcp command serves every CLI command as an MCP tool over stdio. Without installing anything, you can also connect the docs site's remote server (https://astryx.atmeta.com/mcp), which only reads the docs. These routes are for assistants that can't run commands; agents that can, such as Claude Code, use the CLI directly.

Is Astryx free?

Yes. It is MIT-licensed with no paid plan or sign-up, and it can be used in commercial projects. Your costs are your server and your coding agent's own plan.

What it does
Gives a React project ready-made components, themes and page templates; agents read the same docs
For whom
Front-end developers and web agencies (not a no-code tool)
Maker
Meta (open source, MIT)
Status
Beta; latest release 0.7.17 (November 20, 2026)
Requirements
React 19+; Node.js 22.13+ for the CLI
Turkish
A Turkish language file exists for component text; the docs are in English
Price
Free (MIT)

What is Astryx and what does it do?

When you ask an AI agent to "build this page", you get buttons that look different every time, random colors and hand-written styles; as the project grows, the interface drifts apart. A design system prevents this: a single library of color, type and spacing rules plus ready-made components that follow them (buttons, tables, forms, menus). According to the README, Astryx is the design system that grew inside Meta over eight years and was released as open source; it comes with a CLI and agent docs so that people and coding agents work the same way from the same reference.

You install the packages› npm install @astryxdesign/core …The components, a theme and the CLI are added to your project.
init writes the agent rulesAGENTS.mdAgent instruction fileAn Astryx block is added to AGENTS.md (CLAUDE.md for Claude Code); the agent reads it every session.
The page is built from a templateThe agent picks a template with build, adds it to the project with template and reads how components are used with component.
Astryx is currently in beta; releases come often (12 releases in November 2026, from 0.7.6 to 0.7.17).

Who it's for: web agencies and front-end developers building client dashboards, internal tools or e-commerce admin screens with React, especially those who have coding agents such as Claude Code, Codex or Cursor write part of the interface. Who it's not for: people who want to build a site without code; Astryx isn't a ready-made site builder but a library you install in a React 19 project.

The claims "used in more than 13,000 apps" and "the most-used design system in the company" are Meta's own statements (README). The component count is "150+" in the README and "190+" on the site. The first npm release came out on June 24, 2026; the GitHub repository was opened on January 9, 2026.

How does Astryx work? Packages and themes

Astryx is made of a few npm packages. You import pre-built CSS and use typed React components; according to the README, no build plugin, PostCSS or Babel config is needed. The styles are written with StyleX, but in your own project you can override them through className with Tailwind, CSS modules or plain CSS.

1@astryxdesign/coreComponents, the theme system and utilities. React 19 and StyleX are required as peer dependencies.React 19+MIT
2@astryxdesign/cliComponent docs, search, page templates, theme tools, upgrade codemods and agent docs. People and agents use the same commands; every command gives machine-readable output with --json.Node.js 22.13+MCP server
3@astryxdesign/theme-*Seven ready-made themes: neutral, butter, chocolate, matcha, stone, gothic, y2k. A theme is a set of CSS variables; you change it without forking component code.7 themes
ThemeOfficial description
neutralMuted and minimal; the suggested starting point
butterWarm, golden tones with blue accents
chocolateRich chocolate and caramel tones
matchaEarthy greens and botanical tones
stoneWarm neutrals inspired by sandstone
gothicDark-only theme with ink and noir influences
y2kPlayful early-2000s pop aesthetic

According to the README, the chart components (@astryxdesign/charts, @astryxdesign/vega) are published only under the canary tag; there is no stable release yet.

How do you install Astryx? npm, pnpm and a computer-wide install

You install it in the folder of an existing React 19 project. First you add the packages, then you run init once to write the agent docs. init asks no questions; the README and docs say this makes it safe for agents and automated pipelines.

Components, theme and CLI› npm install @astryxdesign/core @astryxdesign/theme-neutral @stylexjs/stylex npm install -D @astryxdesign/cli
Write the agent docs (once)› npx @astryxdesign/cli init
  1. Import the styles: Add @import '@astryxdesign/core/reset.css'; and @import '@astryxdesign/core/astryx.css'; to your global CSS file.
  2. Wire up the theme: Run npx @astryxdesign/cli theme add neutral; wrap the app root in <Theme> with the generated module.
  3. First component: Import each component from its own path: import { Button } from '@astryxdesign/core/Button';

Don't type npx astryx before the CLI is installed: according to the docs, the unscoped name astryx resolves to an unrelated npm package. Always use the npx @astryxdesign/cli … form. If your project is on React 18, you need to move to React 19 first.

Setup details for Next.js, Next.js + Tailwind, Vite and no-build (CDN) are in the @astryxdesign/core README. To try it in the browser without installing, the site has a Playground, Storybook and Sandbox.

How do you use Astryx? What you type and what you get

You use Astryx in two ways: you read component docs from the CLI while writing the code yourself, or you hand the work to a coding agent. The flow the docs teach the agent has three steps: find the template to start from with build, add it to the project with template, and read each component's import and props with component.

Have the agent do the setup (prompt from the official docs)"Install @astryxdesign/core, @stylexjs/stylex, @astryxdesign/theme-neutral, and @astryxdesign/cli in this project, then run `npx @astryxdesign/cli init` to set up agent docs. Read the generated files to learn the conventions."The "Quick Start with AI" prompt from the Getting Started page. What you get: the packages are installed, an Astryx block is written into AGENTS.md (and CLAUDE.md if present), and the agent reads the rules.
Have it build a page"Add an order list page to the client dashboard with a search box, a status filter and an orders table. Use Astryx: first run `npx @astryxdesign/cli build "order list page with search and status filter"`, start from the template it suggests, and read the docs with `component` for every component you use."What you get: according to the docs, build always suggests a starting template (the closest match, or the app shell), two other templates and components for the parts the template lacks; the agent copies the template into the project, keeps its frame and spacing and replaces the content. This is a sample prompt; run the result and check it.
Search it yourself: components, hooks, docs and templates in one list› npx @astryxdesign/cli search button

In the README's sample output, search button returns the first 20 of 239 matches: the Button and IconButton components, the useClickableContainer hook and a template; under each result the next command is printed (e.g. astryx component Button). astryx component Button prints the component's import path, usage and props.

The templates are listed under "Patterns" in the README: table pages, detail page layouts, form wizards, navigation patterns and data entry flows.

How do you use Astryx with AI agents? AGENTS.md, the Claude Code plugin and MCP

You"Build an orders page"
Your coding agentReads the Astryx block in AGENTS.md
astryx CLITemplates, component docs, search
Your projectThe page built from a template

The agent reads the docs from the CLI; it doesn't need to open the package files one by one.

AgentWhere init writes (docs)
DefaultAGENTS.md (project root); a copy in the Claude Code file if one exists, and a one-line import in GEMINI.md
Claude Code--agent claude: CLAUDE.md if present, else .claude/CLAUDE.md
Cursor--agent cursor: .cursorrules if present, else AGENTS.md
Codex, Copilot--agent codex: AGENTS.md
All--agent all: every agent file that exists
Add the marketplace and install the plugin› claude plugin marketplace add meta/astryx claude plugin install astryx@astryx

The plugin carries a single skill: it tells the agent that Astryx is available through the astryx command, when to use it and where to start. It carries no component docs; that comes from the CLI. For Codex, the same repository is added as a marketplace and astryx@astryx is enabled.

The listing on the Claude Marketplace is described as a separate, manual step; the plugin is currently installed from the GitHub repository.

Does Astryx work in Turkish?

Component text (interface)YesThe core package ships 30 language files, including tr-TR. You pass a locale to InternationalizationProvider; missing keys fall back to English. These files only translate Astryx's own strings (such as pagination or the search box); your app text stays in your own i18n system.
Docs and CLI outputNoThe docs are in English. The CLI gives component and docs reads in English, Simplified Chinese (--zh) and a compact form (--dense).
Working with an agent in TurkishUnclearAstryx is a library; whether you can prompt and get replies in Turkish depends on your coding agent's model.

Is Astryx free? License and commercial use

Astryx is free and MIT-licensed; there is no paid plan and no sign-up. Your costs are the server hosting your app and your coding agent's own plan.

Allowed
  • Using it in client projects and commercial products
  • Modifying component code (including copying the source into your project with swizzle)
  • Distributing and sublicensing
Not allowed
  • Removing the copyright and permission notice from copies (the MIT notice must stay)
  • Assuming the software comes with a warranty: MIT provides it "as is"

This is not legal advice. The site's terms of use and privacy policy are at opensource.fb.com/legal.

My data and files: what does Astryx change and how do you remove it?

Where it runs

The components run in your app and the CLI runs on your computer; there is no account or sign-in. The blog command reads the published feed of the Astryx blog from the internet.

Which files it writes
  • init: a marked Astryx block in AGENTS.md, CLAUDE.md and GEMINI.md
  • Global install: ~/.agents/skills/astryx/SKILL.md and skill folders linked to it, such as ~/.claude/skills/astryx
  • doctor changes nothing in the project
Removal
  • Remove the agent blocks: npx @astryxdesign/cli init --remove-agents
  • Turn off the computer skill: npx @astryxdesign/cli init --remove --to user
  • Remove the packages: npm uninstall @astryxdesign/core @astryxdesign/cli (and the theme package)

init and the plugin add text to the instruction files your agent follows every session; read these blocks and make sure they don't conflict with your project's rules.

Common stumbling points

SituationWhat the documentation says
npx astryx runs something elseThe unscoped name resolves to an unrelated npm package; type npx @astryxdesign/cli … or install the CLI in the project and use pnpm exec astryx.
Peer dependency error on installreact and react-dom must be 19.0.0 or later; @stylexjs/stylex must also be installed.
Tailwind or legacy CSS overrode component stylesAstryx styles load in CSS layers (@layer); declare the layer order explicitly. Details: npx @astryxdesign/cli docs migration/migration-setup.
A theme or component broke after upgradingUpgrade every @astryxdesign/* package to the same release, then run npx @astryxdesign/cli upgrade --from <old version> --apply. doctor checks version alignment.
Chart components can't be foundThe chart packages are published only under the canary tag; there is no stable release.

npx @astryxdesign/cli doctor checks the Node.js version, the core install, version alignment, the theme package, the config file, the agent docs and peer dependencies; it exits with 0 when nothing fails and 1 otherwise, so it can also run as a CI step.

shadcn/ui, DESIGN.md and similar tools in the atlas

Astryx brings both the components and the rules together so the agent writes a consistent interface. Its neighbors in the atlas provide either just the rules (a design file, a skill) or just a component catalog; which to choose depends on what your project already uses. The docs include a migration guide for moving a Tailwind, shadcn or Radix app to Astryx step by step.

Frequently asked questions

How do you install Astryx?

In your React 19 project run npm install @astryxdesign/core @astryxdesign/theme-neutral @stylexjs/stylex and npm install -D @astryxdesign/cli, then run npx @astryxdesign/cli init once.

Is Astryx really from Meta?

Yes. The repository is under the verified meta account on GitHub, the license copyright holder is Meta Platforms, Inc., and the site astryx.atmeta.com follows Meta's open-source terms.

Does Astryx support Turkish?

There is a tr-TR language file for the components' own strings. The docs and CLI output are in English (with a Chinese option); talking to the agent in Turkish depends on the agent's model.

Related guides

Sources

Not clear in the official sources: The date it leaves beta (1.0) · coverage of the Turkish language file · a Figma kit and React Native support (not mentioned in the official sources). Each is covered in the relevant section along with what you can do.