Astryx
lastmod 2026-11-17created 2026-11-171 edits
Astryx is a React design system open-sourced by Meta. It grew inside Meta over eight years to become the company's most widely used design system, with more than 13,000 apps built on it. Its component documentation, templates, and themes are also exposed through a CLI and an MCP server, the design goal being that humans and coding agents build screens from the same reference.
About
- Requires React 19 or later; internal styles are written in StyleX. Consumers import prebuilt CSS and use typed components, so no build plugin or PostCSS/Babel configuration is needed. Currently in beta
- More than 150 accessible components (the official site says 180+), dark mode, and page templates such as table pages, detail pages, and form wizards
- A theme is a bundle of CSS custom property overrides, so it adapts to a brand without wrapping or forking components. Seven built-in themes: neutral, butter, chocolate, matcha, stone, gothic, y2k
- Style changes go through
classNameusing whatever the project already uses: Tailwind CSS, CSS Modules, or plain CSS. For deeper changes,astryx swizzlecopies a component's source into the project to be maintained directly - The CLI (
@astryxdesign/cli) provides commands such assearch,component,template,build,theme, andupgrade, with--jsonoutput.astryx build "<idea>"picks a starting template plus blocks and components to fill in the missing parts -
npx @astryxdesign/cli init --features agents --agent claudeadds an Astryx usage block to the project'sCLAUDE.md. The default target isAGENTS.md, and there are options for Cursor and Codex as well - The remote MCP server
https://astryx.atmeta.com/mcphas two tools.searchfinds components, documentation topics, and templates as short results;getreturns the full documentation including props and code examples- Claude Code:
claude mcp add --transport http astryxhttps://astryx.atmeta.com/mcp
- Claude Code:
claude plugin marketplace add meta/astryx, then claude plugin install astryx@astryx. It contains a single skill that tells the agent when and how to use the astryx command