Open source✓ Confirmed in official docsAdded Nov 10
How to set up Meta's Astryx design system for Claude Code
Astryx is a React design system that Meta used internally for eight years before open-sourcing it. It ships 150+ components, themes, page templates and a CLI, so a coding agent looks up component docs through the CLI too.
- Install the package, a theme and the CLI in a React 19+ project.
npm install @astryxdesign/core @astryxdesign/theme-neutral @stylexjs/stylex
npm install -D @astryxdesign/cli
- Run
initonce. It writes the component index intoAGENTS.mdorCLAUDE.md, so the agent knows which components, templates and tokens exist.
npx @astryxdesign/cli init
- Pull up component docs and a page template yourself.
npx @astryxdesign/cli component --list
npx @astryxdesign/cli component Button
npx @astryxdesign/cli template dashboard
It is still in beta. Always use the scoped name @astryxdesign/cli with npx. Before the CLI is installed, a bare npx astryx runs an unrelated npm package with the same name.
Sources
Get notified when a new tip lands
Tip alerts only go out in the app. Install it and turn notifications on.