astryx
An open source design system that's fully customizable and agent ready
Learn how Astryx uses @media (hover: hover) to apply :hover styles only on devices with true hover support, avoiding confusion on touchscreens.
Understanding the `tokens.stylex` Typed Import in Astryx: Type-Safe Design TokensLearn about the tokens.stylex typed import in Astryx. Access design tokens as CSS custom properties with StyleX defineVars for compile-time type checking in your design system.
How to Use the Astryx Template Command to Generate Page SkeletonsLearn to use the Astryx template command to effortlessly generate page skeletons and view spatial annotations without writing files. Streamline your development workflow today.
xstyle vs className vs style Props in Astryx Components: The Complete GuideMaster Astryx styling with xstyle className and style props. Understand compile-time StyleX objects arbitrary CSS class strings and inline React objects to optimize your component styling.
How Dark Mode Functions with the Astryx Theme SystemDiscover how Astryx theme system implements dark mode efficiently. Learn how it resolves at runtime to support CSS and JS consumers without double renders.
How the Astryx Upgrade Command Runs Version Migration CodemodsLearn how the Astryx upgrade command automates version migration codemods. It detects your Astryx version, finds codemod transforms, and applies them to your source code.
How to Use the Astryx Swizzle Command to Eject Component Source CodeEasily eject component source code from the Astryx library using the swizzle command. Customize JSX, styling, and props by copying source files directly into your project.
Anti-Patterns to Avoid When Using the Astryx Design System: 10 Critical MistakesLearn 10 critical anti-patterns to avoid with the Astryx design system. Discover how to leverage StyleX features for optimal performance and theme consistency.
How the Compound Component Pattern Works in Astryx Dialog ComponentsLearn how Astryx uses the compound component pattern for Dialog components. Access shared internal state via React context for a stable API.
What Are Astryx Design Tokens and How to Use ThemDiscover Astryx design tokens, CSS custom properties from StyleX, that centralize your design system for consistent theming. Learn how to implement colorVars and spacingVars.
Astryx XDS CLI Commands: Complete Usage Guide and ReferenceMaster Astryx XDS CLI commands with this complete usage guide. Explore 17+ sub-commands for documentation, theming, scaffolding, and diagnostics. Integrate programmatically with JSON API support.
Available Astryx Theme Packages and How to Switch ThemDiscover the seven Astryx theme packages like Y2K, Stone, and Matcha. Learn how to easily install and switch between these themes using the XDSTheme provider in your React app.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →