Oleksandr Kuzmenko, EditorPublished 5 min readAI-assisted · editor-reviewed
TL;DR
- Offers 150+ production-tested React 19 components with zero required bundler plugins.
- CLI integration exposes deterministic component documentation and scaffolding for coding agents.
- Styling is fully overrideable via CSS custom properties, Tailwind, or CSS modules without wrapper components.
Key facts
- Meta Internal Scale
- Powers 13,000+ internal web applications
- Component Library Size
- 150+ accessible components
- Runtime Dependency
- React 19 or later
- Out-of-the-Box Themes
- 7 themes (neutral, butter, chocolate, matcha, stone, gothic, y2k)
Zero Build Plugins and StyleX Core
Astryx targets React 19 or later (react and react-dom are required peer dependencies). Integrating Astryx requires importing pre-built CSS files and wrapping the application in a theme provider without configuring custom Babel, PostCSS, or bundler plugins.
While internally styled via Meta's StyleX, consumers can override styling using existing project conventions:
npm install @astryxdesign/core @astryxdesign/theme-neutral @stylexjs/stylexAgent-Ready Command Line Interface
To make the design system fully deterministic for AI coding agents, Astryx ships a specialized CLI. Meta recommends aliasing the executable inside package.json to prevent path-resolution issues during autonomous agent runs:
{
"scripts": {
"astryx": "node node_modules/@astryxdesign/cli/clients/cli/bin/astryx.mjs"
}
}Agents can execute npm run astryx -- component --list to fetch valid component names, props, and design constraints directly into their working context, avoiding outdated web search queries or hallucinated UI props.
Try it in 2 minutes
npm install @astryxdesign/core @astryxdesign/theme-neutral @stylexjs/stylexWhen to use
- Building new full-stack React 19 applications using AI-driven coding workflows.
- Standardizing UI scaffolding commands across human developers and agentic coding tools.
When NOT to use
- Legacy React codebases pinned below version 19 that cannot upgrade peer dependencies.
- Static websites requiring zero JavaScript client runtime overhead.
What to do today
- Install core packages: npm install @astryxdesign/core @astryxdesign/theme-neutral @stylexjs/stylex.
- Add the CLI script wrapper to package.json to grant Cursor and Claude Code predictable component discovery.
- Run npm run astryx -- component --list to inspect available building blocks and layout patterns.
Step names are taken from What to do today.
Step names are taken from What to do today. Install core packages: npm install @astryxdesign/core @astryxdesign/theme-neutral @stylexjs/stylex.. Add the CLI script wrapper to package.json to grant Cursor and Claude Code predictable component discovery.. Run npm run astryx -- component --list to inspect available building blocks and layout patterns.
- Install core packages: npm install @astryxdesign/core @astryxdesign/theme-neutral @stylexjs/stylex.
- Add the CLI script wrapper to package.json to grant Cursor and Claude Code predictable component discovery.
- Run npm run astryx -- component --list to inspect available building blocks and layout patterns.
