Astryx

A 150-component React UI library with 7 themes, for developers and their coding agents

Category
Libraries & frameworks
Audience
Developers

Updated

Astryx is an open-source React component and design system from Meta, released as a beta in 2026 and shipped with an MCP server so AI coding agents can build with it alongside people. It is aimed at front-end and full-stack developers who ship product UI in React and would rather pull in a maintained component set than keep a folder of copied files, and at anyone whose coding assistant keeps inventing its own buttons because it has never seen the house design system.

What it does

Astryx gives you a component library plus the tooling around it:

  • 150+ accessible, themeable React components (the project's own site lists 180+)
  • 7 built-in themes: neutral, butter, chocolate, matcha, stone, gothic and y2k
  • ready-made templates and a command-line tool
  • MIT licence

The history is Meta's own claim, published on the project's site: Astryx "grew inside Meta over the last eight years" and became "the most-used and largest design system in the company," powering 13,000+ apps before it was opened up. That figure is Meta describing its internal usage, not an independent count, and it says nothing about how the public beta behaves in a codebase that is not Meta's.

How it works

The library is built on React 19 and above and on StyleX, Meta's own compile-time CSS-in-JS compiler, so styles are compiled during your build rather than assembled in the browser. Theming happens at the token level, which is the angle Meta uses against Material Design: you change tokens instead of fighting a fixed visual language.

Distribution is deliberately old-fashioned. Astryx is one centrally updated npm package, not a pile of files you paste into your repo, so upstream fixes arrive as version bumps. If you do want ownership of a particular component, the CLI has a swizzle command that ejects that component's source into your project. The same CLI can scaffold a project, generate themes, browse templates and run codemods.

The part the video leads with is the agent interface. Astryx exposes an MCP (Model Context Protocol) server endpoint that serves the same docs and tooling to software instead of to a human reading a docs site. An MCP-capable assistant can query component documentation and scaffold UI directly, rather than guessing component names and props from whatever it absorbed during training.

Getting started

What it needs is mostly a build, not a machine: React 19 or newer and a project that can run StyleX's compile step. The project does not list operating system, chip or memory requirements, and nothing here is a server you host. The library is MIT licensed and free, and nothing in the material requires a paid service to use the components.

The agent half is where money can appear. Astryx ships the MCP server; it does not ship the intelligence. You need an MCP-compatible coding agent, and you pay for that agent however you already do, with a subscription or an API key for a cloud model, or with your own hardware for a local one.

The code is at github.com/meta/astryx, with docs, themes and templates at astryx.atmeta.com. It installs as a normal npm dependency plus the CLI, but the saved copy of the README is cut off before the exact install line, so take the command from the repository's own README rather than from this page.

When to use it / when not

The catch is the obvious one and the script says it out loud: outside Meta this is brand new, a beta release, so expect rough edges and expect component APIs to move while it settles.

Use it instead of shadcn/ui when you would rather receive upstream fixes than maintain forks of every component you touched, and when you want your coding agent reading real component docs over MCP instead of improvising. Don't use it if you are shipping something you cannot afford to refactor mid-beta, if your stack cannot move to React 19 or add a StyleX compile step, or if your assistant does not speak MCP, in which case you get a normal component library and none of the agent story.

Alternatives

shadcn/ui is the comparison most readers already hold: copy the code into your repo and own every fork. Astryx inverts that, with swizzle as the escape hatch when you want shadcn-style ownership of one component. Material UI is the other reference point, and Meta's pitch against it is token-level theming instead of a uniform, Google-looking default. And there is always the lazy option of asking Claude or another assistant to write components from scratch, which is exactly the habit the MCP server is meant to replace with a consistent, accessible library.

Take Astryx seriously if you are a React team that wants one shared, accessible component set and already has agents writing UI in your repo: the MCP server is the first mainstream attempt to make a design system machine-readable rather than a docs site humans skim. Treat it as a beta, pin your versions, and let someone else discover the sharp edges on a product you do not have to ship.

More in Libraries & frameworks

All of Libraries & frameworks →