Skip to content
← JournalAI & Design17.11.202610 min read

Meta Astryx design system is open source

Meta published Astryx, the design system it has used internally for eight years. One demo dashboard in six themes: what it does, what it makes easier, how to try it.

Author:

Meta Astryx design system: a pink bot snaps colorful component blocks into a dotted page layout

Reading Meta Astryx’s README is one thing; watching the same panel put on six different outfits is another. The design system Meta has used internally for eight years is on GitHub under the MIT license. I did not stop at reading: I had a demo panel built with Astryx components and poked around in it.

In this post I look at three things: what was published, what it makes easier, and how to try it. The claims come from Meta’s README, and the “actually seen” part comes from the demo. The demo is not a benchmark or a comparison, just one example.

What exactly did Meta publish?

Astryx is a design system: shared components, decisions about color, spacing and type, and the code to use them. It does not arrive as a design file you open and look at; it arrives as React components.

According to Meta, the system grew inside the company over eight years and powers more than 13,000 apps. That count is Meta’s own and nobody outside has verified it. The README says “150+ components”. When the command-line tool listed the components in the demo project, the heading read “Components (174)”. The same tool counted 58 page templates and 726 block templates (astryx component --list and astryx template --list). The installed @astryxdesign/core version is 0.7.16, the license is MIT, and the status is beta. It does not force a styling library on you either: you can override it with Tailwind, CSS modules or plain CSS.

All of these numbers come from the demo project installed on a Linux server, not on my own computer. On your machine the figures may differ.

The beta label is an honest warning. Expect rough edges.

The demo I have: a fake shop, real components

Example shop dashboard built with Meta Astryx components; screenshot of the demo app I had made, data is made up

The demo is called “Theme Lab”. A control rail sits on the left and a live preview on the right. There are two pages: a shop admin dashboard and a component gallery. The four metric cards, the table and the form on the dashboard are Astryx components. Maya Chen and the Aurora Table Lamp are made-up sample data; there is no real shop or client behind them.

I did not write the code, I had it built. According to the import lines in the source files, the demo uses 34 different Astryx parts. The control rail has six ready-made combinations, seven official themes, eight accent colors plus a free color picker, a corner-radius slider, table density and a dark mode switch.

Not everything is Astryx, to be fair. The revenue chart and the small sparklines in the metric cards are hand-written SVG. The colored version of the “Shipped” badge is a hand-written span. Those are the places where the ready-made components visibly run out.

Dressing a brand with variables

The same Meta Astryx demo dashboard in four themes side by side: neutral, matcha, gothic and y2k; screenshot of the demo app

That is the first thing it makes easier, and it is the strongest part of the demo. According to the README, in Astryx a theme means overriding a set of CSS variables; you make the system fit your brand without forking or wrapping component code. In the image above the same panel appears in four outfits: neutral, matcha, gothic (dark mode) and y2k. The demo has six combinations: Okyanus, Toprak, Nane, Gece, Pop and Kum (Ocean, Earth, Mint, Night, Pop and Sand). The seven ready-made themes are neutral, butter, chocolate, matcha, stone, gothic and y2k. Reading the names, it feels like a bakery menu rather than a brand guide.

In the demo, switching a theme works in two layers. The Theme component that wraps the app swaps the ready-made theme and the light or dark mode. The accent color and the corner radius are overridden with nine CSS variables written onto a wrapping div: --color-accent, --color-on-accent, --color-text-accent, --color-icon-accent, --focus-outline-color and four --radius-* (inner, element, container, page). The component code of the panel does not change in either layer. So the README’s “theme = CSS variables” line is seen working in this demo; the full picture just has two layers.

The demo’s answer to “make the blue a bit livelier” is one line: --color-accent. When you pick a light accent color, the switch to black text is not Astryx either; the demo code does a small contrast calculation.

What I liked most while poking around: the alternative designs are right there. You pick a combination and the live preview puts on that outfit immediately.

This is only one example panel. How long it would take to move a real brand guide onto this structure, the demo does not say.

Components: what comes ready

Meta Astryx demo component gallery: dialog, calendar, dropdown menu and stepper; screenshot of the demo app

The demo’s second page is a component gallery: dialog, drawer, toast, dropdown menu, tooltip, stepper, searchable select, date range calendar, pagination, skeleton and empty state. There is also a command palette. It opens with Ctrl or ⌘ plus K, and from it you can change the theme and the combination.

One small rough edge shows up: the calendar says “November 2026” and “Sun Mon Tue”. The rest of the interface is Turkish, the calendar is English. The demo set no locale, and I cannot tell from this demo whether that comes from Astryx or from the demo.

Starting from a template instead of a blank page

The second thing it makes easier is page templates. On top of the components, common page patterns such as dashboards, settings, forms and detail pages are ready to go. template --list lists them all (58 pages, 726 block templates), and template dashboard prints the page source.

The demo does not show this: the panel was not made from a template but by stacking components one by one. The template side is still the setup the README describes. The settings page is the screen that never makes it into a portfolio but is requested in every project. Being able to start it from a ready skeleton instead of a blank page would be a small relief.

Telling the agent: “don’t guess, read this”

The third thing is the agent side. Meta calls Astryx agent ready: the API, the docs and the command-line tool were designed together. The concrete part is this: once the CLI is installed in a project and you run init, the component guide is written into AGENTS.md or CLAUDE.md. The aim is for the agent to find components, templates and design values there instead of guessing. Rather than saying “invent a button” every time, you can say “look at Button”. Even the post-install script nudges in the same direction: the postinstall script of the @astryxdesign/core and CLI packages only reminds you to run astryx init.

That is a promise. I could not find a measurement in the README, nor a comparison with another library. A single demo is not a comparison either: I don’t know what screen an agent would produce without Astryx.

I had Claude build the demo. When I asked it for a demo for a backend, it was very fast and tidy. That is one experience, not a test of Astryx’s agent promise.

How to try it: three doors

  1. No install, in the browser. Docs at astryx.atmeta.com, Storybook at astryx.atmeta.com/storybook/, Sandbox at astryx.atmeta.com/sandbox/. Enough to browse components and see the themes side by side. The screenshots in this post are not from there but from the demo above.
  2. In the terminal, no project. With Node installed, npx @astryxdesign/cli component --list gives the component list and npx @astryxdesign/cli template --list gives the template list. The @astryxdesign/ prefix is required: as the README warns, typing just astryx runs an unrelated npm package.
  3. In your own project. React 19 or later is required. You start with npm install @astryxdesign/core @astryxdesign/theme-neutral @stylexjs/stylex, then import three CSS files and wrap the app in Theme. The steps for Next.js, Tailwind, Vite and a no-build CDN route are in the @astryxdesign/core README.

Here are the numbers for the third door in the demo project: npm install pulled in 174 npm packages, took 65 seconds, and node_modules ended up at 275 MB. npm run build (Vite 8) finished in 4.3 seconds; the output is 1,123 KB of JS (331 KB gzipped) and 458 KB of CSS (56 KB gzipped). All of it was measured on a Linux server with Node 26, not on my computer. The demo imports all seven themes at once and nothing was measured with a single theme. Vite also warned about a chunk larger than 500 kB.

What to know before you adopt it

It is beta: Meta says so itself, and the sources add that the public API may change. React 19 is required; the components are React components, so they will not work as they are in a project that does not use React. The chart components sit on npm only under the canary tag, with no stable release. The hand-drawn chart in the demo fits that.

The font is a quiet trap. Themes call the font by name but do not ship the file. The @astryxdesign/theme-neutral README says it plainly: “Figtree must be loaded separately. The theme references it by name but does not bundle the font files.” If you don’t load it, the system font takes over, and the README treats that as a supported option. The demo did not add the font link. The type in the screenshots is therefore the server’s DejaVu Sans; on Windows the same demo would most likely show Segoe UI, but I have not verified that. Layout, color and components are the same; only the letter shapes differ. You will bring your brand’s font yourself.

The 13,000-app figure is Meta’s own count and the agent side is a promise. There is no published comparison for either. The demo showed the theming and the components; it did not show the agent promise or the templates. So read this post as “the theming part showed up in the demo, the rest is per the README”, not “all of it worked”.

Where I think it helps most

This section is my take, not Meta’s. I think Astryx makes both building screens with an agent and starting from ready-made templates a lot easier. Theming was the part that showed up most clearly in the demo, but these two were not measured there: no template was used and the agent promise was not compared. So this is an expectation, not a measurement.

Sources

Keep reading