# Table of Contents - [Getting Started · Astryx](#getting-started-astryx) - [Browser Support · Astryx](#browser-support-astryx) - [CLI Integrations · Astryx](#cli-integrations-astryx) - [Elevation · Astryx](#elevation-astryx) - [Getting Started · Astryx](#getting-started-astryx) - [Icons · Astryx](#icons-astryx) - [Color · Astryx](#color-astryx) - [Illustrations · Astryx](#illustrations-astryx) - [Migration Guide · Astryx](#migration-guide-astryx) - [Motion · Astryx](#motion-astryx) - [Layout · Astryx](#layout-astryx) - [Spacing · Astryx](#spacing-astryx) - [Principles · Astryx](#principles-astryx) - [Internationalization · Astryx](#internationalization-astryx) - [Theme System · Astryx](#theme-system-astryx) - [Shape · Astryx](#shape-astryx) - [Styling Library Interop · Astryx](#styling-library-interop-astryx) - [Typography · Astryx](#typography-astryx) - [All Tokens · Astryx](#all-tokens-astryx) - [Styling Components · Astryx](#styling-components-astryx) - [Working with AI · Astryx](#working-with-ai-astryx) --- # Getting Started · Astryx [Skip to content](https://astryx.atmeta.com/docs#astryx-app-shell-main) Type to search ↑↓Navigate↵SelectEscClose Getting Started =============== Add the design system to your project and start building. Quick Start with AI ------------------- Copy link Paste this into your AI coding tool and let it handle the setup: Paste this into your AI text `` Install @astryxdesign/core, @astryxdesign/theme-neutral, and @astryxdesign/cli in this project, then run `npx @astryxdesign/cli init` to set up agent docs. Read the generated files to learn the conventions. `` Install ------- Copy link Astryx requires React 19 or later: `react` and `react-dom` >= 19.0.0 are peer dependencies of `@astryxdesign/core`. Add the core package, a theme, and the CLI to your existing project. Terminal bash ` npm install @astryxdesign/core @astryxdesign/theme-neutral @astryxdesign/cli ` Then run `astryx init` to install the AI agent cheat sheet (AGENTS.md/CLAUDE.md). It's non-interactive; no prompts; so it's safe for AI agents, CI, and scripts. Add `--all` for pointers to the theme and page-building workflows. Terminal bash ` npx astryx init ` Add the theme CSS ----------------- Copy link Import the reset stylesheet and a theme in your global CSS file. Themes provide all design tokens (colors, spacing, radius, typography) as CSS custom properties. globals.css css ` @import '@astryxdesign/core/reset.css'; @import '@astryxdesign/core/astryx.css'; @import '@astryxdesign/theme-neutral/theme.css'; ` Available themes: @astryxdesign/theme-neutral (muted minimal, a good starting point), @astryxdesign/theme-butter, @astryxdesign/theme-chocolate, @astryxdesign/theme-gothic (dark-only), @astryxdesign/theme-matcha, @astryxdesign/theme-stone, and @astryxdesign/theme-y2k. See [`astryx docs theme`](https://astryx.atmeta.com/docs/theme) for the full theming guide. These stylesheets are cascade-layered: the reset loads in @layer reset and component styles in @layer astryx-base. If your project has existing global CSS, a legacy reset, or Tailwind, declare the layer order explicitly and assign every stylesheet to a layer deliberately: unlayered styles and later layers both override astryx-base regardless of specificity. See the Cascade Layer Safety section in [`astryx docs migration`](https://astryx.atmeta.com/docs/migration) before building screens. Add your first component ------------------------ Copy link Components are imported from per-category subpath entrypoints. This keeps bundles small and makes intent clear. app/page.tsx tsx ` import {Button} from '@astryxdesign/core/Button'; import {VStack} from '@astryxdesign/core/Layout'; ​ export default function Page() { return (