# meta/astryx

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/meta-astryx).**

_How this analysis was created: the description and tags below were written by an AI model that read this project's README and public documentation pages; stars, license and language come straight from the GitHub API. The model does not read the source code._

14,432 stars · 1,179 forks · TypeScript · MIT

## Links

- GitHub: https://github.com/meta/astryx
- Homepage: http://astryx.atmeta.com
- awesome-repositories: https://awesome-repositories.com/repository/meta-astryx.md

## Description

Astryx is an open-source React design system built from typed, accessible components styled with StyleX. The library ships with pre-built CSS and requires no build plugin for basic use. It is paired with a command-line tool that looks up component documentation, scaffolds starter apps and page templates, applies codemods for version migrations, and ejects component source into a project for direct modification.

The system is written to be used by AI coding agents as well as people. Component indexes and guidance can be written into agent instruction files, and the CLI returns a self-describing manifest of its commands, flags, and exit codes, so agents don't have to scrape help text. A set of test and measurement workflows scores how well agents generate interfaces from that guidance, including how quality changes over long conversations. Theming works through CSS custom property overrides, with prebuilt themes, dark mode, and class-name overrides from Tailwind, CSS modules, or plain CSS. Library and product styles are compiled with separate class prefixes and placed in independent CSS layers, so theme overrides apply predictably regardless of load order. Build integrations cover Babel, PostCSS, Vite, and Next.js with Turbopack.

Beyond individual components, Astryx offers page templates and blocks for dashboards, settings pages, forms, and detail views, along with documented patterns such as table pages and form wizards. Design conventions cover spacing, typography, color contrast, elevation, motion, and interaction states. Components are graded against a quality rubric and checked with accessibility, keyboard, visual baseline, and performance tests before graduating from a canary tier to the stable package. The CLI also supports integration packages, project health diagnostics, and search across components, docs, templates, and themes.

## Tags

### User Interface & Experience

- [Accessible Components](https://awesome-repositories.com/f/user-interface-experience/component-utilities/ui-frameworks/component-libraries/react-components/accessible-components.md) — Provides over 150 typed, accessible React components with consistent typography, color and layout, shipped with pre-built CSS and no required build plugin. ([source](https://github.com/meta/astryx/blob/main/README.md))
- [React Design System Libraries](https://awesome-repositories.com/f/user-interface-experience/react-design-system-libraries.md) — Provides a library of typed, accessible React components with consistent typography, color, and layout foundations, shipped with pre-built CSS and no required build plugin.
- [Accessible Component Libraries](https://awesome-repositories.com/f/user-interface-experience/accessible-component-libraries.md) — Offers a large library of typed React components with built-in accessibility, used with pre-built CSS and no build plugin or styling library. ([source](https://github.com/meta/astryx#readme))
- [Accessible UI Components](https://awesome-repositories.com/f/user-interface-experience/accessible-ui-components.md) — Delivers typed React components with full TypeScript support and built-in accessibility, imported directly with pre-built CSS and no build plugin. ([source](https://github.com/meta/astryx#readme))
- [CSS Variable Theming](https://awesome-repositories.com/f/user-interface-experience/css-variable-theming.md) — Restyles whole interfaces, including dark mode, by swapping packages of overridden CSS custom properties without forking components.
- [Design Tokens & Themeable Components](https://awesome-repositories.com/f/user-interface-experience/custom-ui-components/design-tokens-themeable-components.md) — Provides accessible, themeable components and design tokens whose look can be swapped through CSS variables, prebuilt themes, and style overrides without forking source.
- [Agent-Driven Systems](https://awesome-repositories.com/f/user-interface-experience/design-systems/agent-driven-systems.md) — Writes component indexes, guidance, and a self-describing CLI manifest for AI coding agents so people and agents build interfaces from one shared reference.
- [Build-Time Style Compilers](https://awesome-repositories.com/f/user-interface-experience/styling-theming-systems/content-styling/component-styling-tools/component-styling/css-in-js-implementations/static-css-styling/build-time-style-compilers.md) — Process style definitions at build time through plugins for Babel, PostCSS, and Vite, so styles are generated whenever an application is compiled from source. ([source](https://github.com/meta/astryx/tree/main/packages))
- [Visual Themes](https://awesome-repositories.com/f/user-interface-experience/visual-theme-configurations/visual-themes.md) — Restyles an entire interface by swapping a theme package, with several named palettes and styles to choose from. ([source](https://github.com/meta/astryx/blob/main/package.json))
- [Brand Theme Injection](https://awesome-repositories.com/f/user-interface-experience/color-themes/custom-color-theme-definitions/brand-theme-injection.md) — Applies a brand look to components through overridden CSS custom properties, with dark mode and ready-made themes, and no forking of component source. ([source](https://github.com/meta/astryx/blob/main/README.md))
- [Theme Application & Switching](https://awesome-repositories.com/f/user-interface-experience/color-themes/theme-application-switching.md) — Applies prebuilt themes such as default, neutral, brutalist, or Meta styling so an application's look changes without rewriting components. ([source](https://github.com/meta/astryx/tree/main/packages))
- [Component Composition Primitives](https://awesome-repositories.com/f/user-interface-experience/component-architectures/component-composition/component-composition-primitives.md) — Offers components from low-level primitives to opinionated compositions, exporting building blocks and accepting slots and style props for customization.
- [Command-Line Component Reference Lookup](https://awesome-repositories.com/f/user-interface-experience/component-architectures/component-definitions/component-api-design/command-line-component-reference-lookup.md) — Retrieve a component's full reference from the command line, including props, variants, examples, best practices, and theming guidance, without leaving the terminal. ([source](https://github.com/meta/astryx/blob/main/packages/core))
- [Source-Owned Libraries](https://awesome-repositories.com/f/user-interface-experience/component-libraries/source-owned-libraries.md) — Copies a component's full source into a project so developers can own and modify it when composition or overrides are not enough. ([source](https://github.com/meta/astryx#readme))
- [Application Page Templates](https://awesome-repositories.com/f/user-interface-experience/dashboard-layout-templates/application-page-templates.md) — Offers ready-made page templates and blocks for dashboards, settings pages, forms, and detail views, plus documented patterns like table pages and form wizards.
- [Dual-Prefix Style Compilations](https://awesome-repositories.com/f/user-interface-experience/dual-prefix-style-compilations.md) — Compiles library and product code with different class prefixes so atomic CSS never collides and each can sit in its own CSS layer. ([source](https://github.com/meta/astryx/blob/main/packages/build))
- [Interface Pattern Guides](https://awesome-repositories.com/f/user-interface-experience/interface-pattern-guides.md) — Documents tested patterns for table pages, detail layouts, form wizards, navigation and data entry flows to speed up building typical screens. ([source](https://github.com/meta/astryx#readme))
- [Page Assembly Blocks](https://awesome-repositories.com/f/user-interface-experience/landing-page-templates/design-blocks/page-assembly-blocks.md) — Guides building full-page templates and drop-in blocks from library components and tokens, with responsive grids and realistic mock data. ([source](https://github.com/meta/astryx/wiki/Design-Conventions))
- [Page Layout Templates](https://awesome-repositories.com/f/user-interface-experience/page-layout-templates.md) — Emits ready-made page source for dashboards, settings, forms and detail pages, with an optional annotated skeleton. ([source](https://github.com/meta/astryx/blob/main/packages/core/README.md))
- [React Component Styling](https://awesome-repositories.com/f/user-interface-experience/react-component-styling.md) — Styles React components with StyleX atomic CSS compiled via Babel, PostCSS, and Vite into separate layers so library and product styles never collide.
- [Reusable UI Components](https://awesome-repositories.com/f/user-interface-experience/reusable-ui-components.md) — Supplies a core set of reusable UI components with a theme system and utilities for assembling application interfaces. ([source](https://github.com/meta/astryx/tree/main/packages))
- [Cascade Layer Management](https://awesome-repositories.com/f/user-interface-experience/styling-theming-systems/content-styling/styling-architectures/cascading-style-sheets/cascade-layer-management.md) — Wraps library and product styles in independent named CSS layers so theme overrides apply predictably regardless of stylesheet load order.
- [CSS Styling](https://awesome-repositories.com/f/user-interface-experience/styling-theming-systems/content-styling/styling-architectures/styling-systems/class-based-styling/css-styling.md) — Accepts class names from Tailwind, CSS modules, or plain CSS to restyle components without requiring a specific styling library. ([source](https://github.com/meta/astryx#readme))
- [Atomic CSS Generators](https://awesome-repositories.com/f/user-interface-experience/styling-theming-systems/content-styling/styling-architectures/styling-systems/class-based-styling/css-styling/atomic-css-generators.md) — Extracts styles at build time through Babel, PostCSS, and Vite plugins into atomic CSS classes so no styling runtime ships to the browser.
- [Component Style Overrides](https://awesome-repositories.com/f/user-interface-experience/styling-theming-systems/content-styling/styling-architectures/styling-systems/component-style-customization/component-style-overrides.md) — Accepts StyleX, class name and inline style props on components and merges them with built-in styles in a defined priority order. ([source](https://github.com/meta/astryx/wiki/API-Conventions))
- [CSS Layer Cascades](https://awesome-repositories.com/f/user-interface-experience/theme-overriding-systems/css-layer-cascades.md) — Places library and product styles in independent named CSS layers so theme overrides apply predictably regardless of stylesheet or chunk load order. ([source](https://github.com/meta/astryx/blob/main/packages/build))
- [Enterprise Layout Patterns](https://awesome-repositories.com/f/user-interface-experience/ui-layout-design/enterprise-layout-patterns.md) — Documents tested layouts and workflows such as table pages, detail pages, form wizards and navigation for building common screens. ([source](https://github.com/meta/astryx#readme))
- [Visual Baseline Recorders](https://awesome-repositories.com/f/user-interface-experience/ui-state-management/visual-state-stabilizers/visual-baseline-recorders.md) — Stores reference screenshots of components so test runs flag unintended visual changes. ([source](https://github.com/meta/astryx/tree/main/.github))
- [Design System Consistency](https://awesome-repositories.com/f/user-interface-experience/visual-consistency-tooling/design-system-consistency.md) — Documents conventions for spacing, typography, color contrast, elevation, motion and interaction states so interfaces look cohesive and accessible.

### Artificial Intelligence & ML

- [AI Coding Assistant Guidance](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-coding-assistants/ai-coding-assistant-guidance.md) — Writes component indexes and guidance into agent instruction files and measures how well AI agents generate interfaces from that guidance.
- [Agent Tool Usage Guidance](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-tool-usage-guidance.md) — Writes a component guide into agent instruction files and sets up the design system so AI coding agents can use available components. ([source](https://github.com/meta/astryx/blob/main/packages/core/README.md))
- [AI Development Assistants](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-development-assistants.md) — Aligns API, documentation, and command-line tooling so people and AI assistants build interfaces from one shared reference. ([source](https://github.com/meta/astryx/blob/main/README.md))

### Part of an Awesome List

- [Scaffolding and Templates](https://awesome-repositories.com/f/awesome-lists/devtools/scaffolding-and-templates.md) — Offers ready-to-ship app templates and a command-line tool so people and AI assistants start applications from the same reference. ([source](https://github.com/meta/astryx#readme))
- [Templates and Starters](https://awesome-repositories.com/f/awesome-lists/devtools/templates-and-starters.md) — Generates starter applications and themes from ready-made templates through a command-line tool that also supplies component docs and migrations. ([source](https://github.com/meta/astryx/blob/main/README.md))

### Development Tools & Productivity

- [UI Component API Documentation](https://awesome-repositories.com/f/development-tools-productivity/api-documentation-generators/ui-component-api-documentation.md) — Display the full API for any component, including props, variants, examples, best practices, and theming guidance, from the command line, and list every available component. ([source](https://github.com/meta/astryx/blob/main/packages/cli))
- [AI-Generated Code Analysis](https://awesome-repositories.com/f/development-tools-productivity/code-quality-analysis/ai-generated-code-analysis.md) — Runs prompt suites where agents generate component code from project guidance, then scores success, components used, and workarounds. ([source](https://github.com/meta/astryx/blob/main/AGENTS.md))
- [AI Agent Indexes](https://awesome-repositories.com/f/development-tools-productivity/codebase-indexing/ai-agent-indexes.md) — Writes an index of components, templates, and design tokens into agent instruction files so AI coding agents find real building blocks. ([source](https://github.com/meta/astryx/blob/main/packages/core))
- [Design System CLIs](https://awesome-repositories.com/f/development-tools-productivity/design-system-clis.md) — Ships a command-line tool that looks up component docs, scaffolds starter apps and page templates, applies version-migration codemods, and ejects component source.
- [Template-Based Project Scaffolders](https://awesome-repositories.com/f/development-tools-productivity/project-templates/template-based-project-scaffolders.md) — Generates new projects and pages from ready-to-ship templates through a command-line tool that also exposes docs, themes, and codemods. ([source](https://github.com/meta/astryx/tree/main/packages))
- [Self-Describing Command Schemas](https://awesome-repositories.com/f/development-tools-productivity/terminal-shell-cli/cli-tooling-frameworks/cli-tooling/agent-integration-interfaces/agent-command-line-interfaces/self-describing-command-schemas.md) — Returns a typed JSON manifest of every command, flag, and exit code so scripts and AI agents discover capabilities without scraping help text.

### Software Engineering & Architecture

- [UI Component Composition](https://awesome-repositories.com/f/software-engineering-architecture/modular-architecture-interfaces/ui-component-composition.md) — Offers components from low-level primitives to opinionated compositions, customized through slots and children instead of long prop lists. ([source](https://github.com/meta/astryx/wiki/API-Conventions))

### Testing & Quality Assurance

- [Accessibility Auditing](https://awesome-repositories.com/f/testing-quality-assurance/accessibility-visual-testing/web-accessibility-standards/semantic-document-structures/accessibility-auditing.md) — Runs automated accessibility audits and compares results with saved baselines and shared component records to catch regressions. ([source](https://github.com/meta/astryx/tree/main/.github))
- [Component Quality Rubric Audits](https://awesome-repositories.com/f/testing-quality-assurance/component-quality-rubric-audits.md) — Grades components against a rubric covering tokens, naming, theming and accessibility, then fixes issues and routes design findings to human review. ([source](https://github.com/meta/astryx/wiki/Component-Lifecycle))
- [Frontend Visual Quality Assurance](https://awesome-repositories.com/f/testing-quality-assurance/frontend-visual-quality-assurance.md) — Audits components against a quality rubric and runs accessibility, keyboard, visual baseline and performance tests to catch regressions before release.
- [Browser Contract Tests](https://awesome-repositories.com/f/testing-quality-assurance/mobile-accessibility-auditing/accessibility-testing-tools/browser-contract-tests.md) — Runs browser-based accessibility tests on built component examples to verify assistive-tool output, focus movement, and state changes that simulated pages cannot prove. ([source](https://github.com/meta/astryx/blob/main/playwright.config.ts))
- [Visual and Accessibility Test Automation](https://awesome-repositories.com/f/testing-quality-assurance/visual-and-accessibility-test-automation.md) — Runs unit, browser, accessibility and interaction tests to confirm components behave correctly and remain usable for everyone. ([source](https://github.com/meta/astryx/blob/main/package.json))
