Astryx

by Meta · Framework · Text & code

A React design system with accessible components, page templates and themes, whose docs are readable by both developers and coding agents through a command line.

promising

Meta's agent-friendly React design system looks solid, but it is still beta.

Latest · Nov 13Meta open-sourced Astryx, a design system meant to be used by people and coding agents from the same docs; MIT license, about 18,700 GitHub stars.

AccessOpen codeLicenseMIT

Why we say so

AICodeKing, the only independent reviewer, built a full settings page in a few minutes. He praised the CLI-as-docs setup, the 150+ components and the rules written into CLAUDE.md. He also found a beta at 0.7 needing React 19 and Node 22.13, only one maintained theme, and a demo page of about 600 KB of JavaScript. He would use it for new agent-built React 19 apps and wait on mature shadcn or MUI projects. Meta's own nightly tests have Astryx at 98 against shadcn's 95 on a good night, 77 on a bad one, and shadcn winning more nights overall.

Evidence

  1. Nov 13
    Grew inside Meta over eight years and powers more than 13,000 internal apps; released in beta in June.
    ReportedAICodeKing
  2. Nov 13
    Over 150 accessible React components with TypeScript types (CLI lists 174), plus page and block templates such as dashboard, login, settings and AI chat.
    Hands-on testAICodeKing
  3. Nov 13
    Written with StyleX but used by importing two prebuilt CSS files: no build plugin, PostCSS or Babel config. Styling accepts Tailwind, CSS modules or plain CSS.
    Hands-on testAICodeKing
  4. Nov 13
    Themes are CSS variables; seven exist (neutral, butter, chocolate, stone, gothic, Y2K) plus built-in dark mode.
    Hands-on testAICodeKing
  5. Nov 13
    The swizzle command copies a component's full source into your project, like shadcn, while other components keep getting upstream fixes.
    Hands-on testAICodeKing
Show all 17
  1. Nov 13
    The CLI is the docs: the documentation website reads from the CLI, so one copy of the docs exists that agents can query.
    Hands-on testAICodeKing
  2. Nov 13
    The init command writes a managed rules block into the agent's instruction file (CLAUDE.md for Claude): start from templates, no raw divs or hard-coded hex, look up components, run doctor.
    Hands-on testAICodeKing
  3. Nov 13
    The build command takes a plain-English request and picks the closest page template, blocks and components instead of generating code; the template command copies it into the project.
    Hands-on testAICodeKing
  4. Nov 13
    In a fresh Vite React app, a full settings page with sidebar, forms and toggles took a few minutes, mostly npm install.
    Hands-on testAICodeKing
  5. Nov 13
    Lookup commands search components, hooks, docs, templates and themes and return exact props, variants and defaults; JSON output with stable error codes, a token-saving dense mode and a manifest command.
    Hands-on testAICodeKing
  6. Nov 13
    A hosted MCP server adds search and get tools; there is also an llms.txt, and a global init user command installs an Astryx agent skill for Claude Code and other agents.
    Hands-on testAICodeKing
  7. Nov 13
    In Meta's nightly vibe tests, on a good night Astryx scored 98, shadcn 95 and raw HTML 82, as scored by a judge agent.
    Maker's claimMetaviaAICodeKing
  8. Nov 13
    Meta also published a bad night where Astryx dropped to 77 because the agent invented imports and props; shadcn wins the most nights overall.
    Maker's claimMetaviaAICodeKing
  9. Nov 13
    Still beta at version 0.7 with near-daily releases; needs React 19 and Node 22.13 or newer.
    Hands-on testAICodeKing
  10. Nov 13
    Only the Neutral theme is maintained, other themes are separate packages, charts are Canary-only, and swizzled components need a StyleX compiler in the build.
    Hands-on testAICodeKing
  11. Nov 13
    The reviewer's single demo page was around 600 KB of JavaScript before gzip; the strict no-divs rules may clash with Tailwind-heavy teams.
    Hands-on testAICodeKing
  12. Nov 13
    Recommended for new React 19 apps built heavily with agents; the reviewer would wait until it leaves beta for mature shadcn or MUI apps.
    Hands-on testAICodeKing

Everything said about Astryx, on the wire

Alternatives