An open source design system that's fully customizable and agent ready
TypeScript
Astryx + Tailwind CSS
This project uses Astryx components with Tailwind CSS. Use the CLI to look up component props and usage before writing code:
npx astryx component --list # list all available components
npx astryx component Button # look up props, variants, and usage
npx astryx component IconButton # each component has its own entry
Components use:
- Tailwind CSS utility classes for layout and custom styling
- Astryx Tailwind bridge tokens (
bg-surface,text-primary) for design tokens - React 19
Import Pattern
Each component is imported from its own subpath:
import {Button} from '@astryxdesign/core/Button';
import {IconButton} from '@astryxdesign/core/IconButton';
import {Card} from '@astryxdesign/core/Card';
import {Text, Heading} from '@astryxdesign/core/Text';
import {ToggleButton, ToggleButtonGroup} from '@astryxdesign/core/ToggleButton';
import {Theme} from '@astryxdesign/core/theme';
Event Handlers
Astryx is a React DOM library. Use standard React DOM event handler props such as
onClick, onChange, and onKeyDown. For button activation, use onClick:
<Button label="Save" onClick={() => handleSave()} />
Do NOT use cross-platform activation props like onPress unless a component
explicitly documents them.