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.
› npm install @astryxdesign/core …The components, a theme and the CLI are added to your project.AGENTS.mdAgent instruction fileAn Astryx block is added to AGENTS.md (CLAUDE.md for Claude Code); the agent reads it every session.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.
React 19+MIT--json.Node.js 22.13+MCP server7 themes| Theme | Official description |
|---|---|
| neutral | Muted and minimal; the suggested starting point |
| butter | Warm, golden tones with blue accents |
| chocolate | Rich chocolate and caramel tones |
| matcha | Earthy greens and botanical tones |
| stone | Warm neutrals inspired by sandstone |
| gothic | Dark-only theme with ink and noir influences |
| y2k | Playful 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.
› npm install @astryxdesign/core @astryxdesign/theme-neutral @stylexjs/stylex
npm install -D @astryxdesign/cli› npx @astryxdesign/cli init› pnpm add @astryxdesign/core @astryxdesign/theme-neutral @stylexjs/stylex
pnpm add -D @astryxdesign/cli› pnpm exec astryx init› npm i -g @astryxdesign/cliThis makes the astryx command work in any folder and for every coding agent on the computer; inside a project, that project's own version still answers. The docs recommend installing it both in the project and on the computer.
- Import the styles: Add
@import '@astryxdesign/core/reset.css';and@import '@astryxdesign/core/astryx.css';to your global CSS file. - Wire up the theme: Run
npx @astryxdesign/cli theme add neutral; wrap the app root in<Theme>with the generated module. - 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.
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.› npx @astryxdesign/cli search buttonIn 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
The agent reads the docs from the CLI; it doesn't need to open the package files one by one.
| Agent | Where init writes (docs) |
|---|---|
| Default | AGENTS.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 |
› claude plugin marketplace add meta/astryx
claude plugin install astryx@astryxThe 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.
MCP (Model Context Protocol) is a common connection format that lets AI assistants call external tools. The official docs recommend the CLI first: an agent that can run commands uses astryx directly. MCP is for when your assistant can't run commands or reaches tools only through MCP. Astryx serves MCP two ways.
› claude mcp add astryx -- npx @astryxdesign/cli mcp› { "mcpServers": { "astryx": { "command": "npx", "args": ["@astryxdesign/cli", "mcp"] } } }› [mcp_servers.astryx]
command = "npx"
args = ["@astryxdesign/cli", "mcp"]With this route every CLI command becomes a tool, and answers match your project's Astryx version, theme and integrations.
› claude mcp add --transport http astryx https://astryx.atmeta.com/mcpThe remote server gives only docs-reading tools (search, build, component, hook, docs, template, discover, theme list, theme targets) and answers for the latest published release, not your project. In Cline the type is streamableHttp; in Cursor you give only url, without a type field. In Claude Desktop you paste the address via Settings then Connectors then Add custom connector.
Setting formats are from the official "Working with AI" docs (December 2, 2026). According to the docs, an unrecognized transport type is skipped without an error: the server looks connected but shows no tools. Use the example for your assistant.
The Astryx blog (November 14, 2026) announced that Astryx can be chosen as a design system skill in Vercel's v0: when v0 builds a project, Astryx's guidance, components, examples and templates come into context. v0's plans and pricing are on v0's own page.
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)Yes | The 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 outputNo | The 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 TurkishUnclear | Astryx 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.
- Using it in client projects and commercial products
- Modifying component code (including copying the source into your project with
swizzle) - Distributing and sublicensing
- 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?
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.
init: a marked Astryx block in AGENTS.md, CLAUDE.md and GEMINI.md- Global install:
~/.agents/skills/astryx/SKILL.mdand skill folders linked to it, such as~/.claude/skills/astryx doctorchanges nothing in the project
- 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
| Situation | What the documentation says |
|---|---|
npx astryx runs something else | The 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 install | react and react-dom must be 19.0.0 or later; @stylexjs/stylex must also be installed. |
| Tailwind or legacy CSS overrode component styles | Astryx 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 upgrading | Upgrade 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 found | The 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
- meta/astryx (GitHub, README)
- License (MIT, Meta Platforms, Inc.)
- Astryx official site
- Astryx: Getting Started
- Astryx: Working with AI
- Astryx: Where agents read Astryx
- Astryx: Internationalization
- Astryx CLI README
- Astryx agent plugin (Claude Code, Codex)
- Astryx blog: now available in v0 (November 14, 2026)
- npm: @astryxdesign/core
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.





