# Astryx

> Meta's open source React design system on StyleX: 170+ typed components, themes and an agent-readable CLI.

Source: https://tastebase.ehsanulsiam.workers.dev/browse/astryx

free

Meta's open source React design system on StyleX: 170+ typed components, themes and an agent-readable CLI.

by Meta[GitHub](https://github.com/meta/astryx)[npm](https://npmjs.com/package/@astryxdesign/core)

[visit](https://astryx.atmeta.com/?utm_source=tastebase&utm_medium=referral&utm_content=detail-page)

[https://astryx.atmeta.com](https://astryx.atmeta.com/?utm_source=tastebase&utm_medium=referral&utm_content=detail-preview)

## Try these

no preview

### [Mantine](https://tastebase.ehsanulsiam.workers.dev/browse/mantine)

Batteries-included React kit: 100+ components, hooks, forms, dates, charts and notifications, CSS modules.

no preview

### [HeroUI](https://tastebase.ehsanulsiam.workers.dev/browse/heroui)

Styled React components on React Aria and Tailwind v4, installed as a package (formerly NextUI).

no preview

### [shadcn/ui](https://tastebase.ehsanulsiam.workers.dev/browse/shadcn-ui)

Copy-in React components on Tailwind, built on Base UI, Radix or React Aria, plus a registry CLI.

no preview

### [Recharts](https://tastebase.ehsanulsiam.workers.dev/browse/recharts)

Composable SVG charts for React; the engine behind shadcn/ui charts.

## For your agent

##### Install

`npm install @astryxdesign/core @astryxdesign/theme-neutral @stylexjs/stylex`

##### Use it for

- a full product app (app shell, side and top nav, forms, tables, dialogs) from one npm package you upgrade, outside the Tailwind/shadcn stack
- dense internal tools that need date, time, typeahead, power search and multi-select inputs that already agree with each other
- an in-app assistant panel built from the same kit: chat layout, composer, tool calls, citations, markdown
- an agent that should read real props from a CLI (`npx @astryxdesign/cli component <Name>`) instead of guessing

##### Skip it when

- you want to own and edit every component as source: use shadcn-ui or coss-ui
- React 18 or older, or Vue/Svelte: Astryx needs React 19; use mantine, nuxt-ui or shadcn-svelte
- a marketing page that needs spectacle: pair magic-ui or aceternity-ui instead

##### What's inside101 free

- AlertDialog
- AppShell
- AspectRatio
- Avatar
- AvatarGroup
- Badge
- Banner
- Blockquote
- BottomSheet
- Breadcrumbs
- Button
- ButtonGroup
- Calendar
- Card
- Carousel
- Center
- Chat
- CheckboxInput
- CheckboxList
- Citation
- ClickableCard
- Code
- CodeBlock
- Collapsible
- CommandPalette
- ComplexSelector
- ContextMenu
- DateInput
- DateRangeInput
- DateTimeInput
- Dialog
- Divider
- Drawer
- DropdownMenu
- EmptyState
- Field
- FieldStatus
- FileInput
- FormLayout
- Grid
- Heading
- HoverCard
- HStack
- Icon
- IconButton
- InfoTip
- InputGroup
- Item
- Kbd
- Layout
- Lightbox
- Link
- List
- Markdown
- MetadataList
- MobileNav
- MoreMenu
- MultiSelector
- NavIcon
- NumberInput
- Outline
- OverflowList
- Overlay
- Pagination
- Popover
- PowerSearch
- ProgressBar
- RadioList
- ScrollableArea
- Section
- SegmentedControl
- SelectableCard
- Selector
- SideNav
- Skeleton
- Slider
- Spinner
- Stack
- StatusDot
- Stepper
- Switch
- Table
- TabList
- Text
- TextArea
- TextInput
- Thumbnail
- TimeInput
- Timer
- Timestamp
- Toast
- ToggleButton
- Token
- Tokenizer
- Toolbar
- Tooltip
- TopNav
- TreeList
- Typeahead
- VisuallyHidden
- VStack

##### Facts

**Frameworks**
react

**Styling**
css

**Weight**
medium

**Accessibility**
strong

**Maturity**
experimental

**License**
MIT

**Price**
Free

##### Pairs with

[Recharts](https://tastebase.ehsanulsiam.workers.dev/browse/recharts)[Motion](https://tastebase.ehsanulsiam.workers.dev/browse/motion)

##### Alternatives

[Mantine](https://tastebase.ehsanulsiam.workers.dev/browse/mantine)[HeroUI](https://tastebase.ehsanulsiam.workers.dev/browse/heroui)[shadcn/ui](https://tastebase.ehsanulsiam.workers.dev/browse/shadcn-ui)

[Compare Astryx with its alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/astryx-alternatives)

```
/* globals.css, in this order */
@import '@astryxdesign/core/reset.css';
@import '@astryxdesign/core/astryx.css';
@import '@astryxdesign/theme-neutral/theme.css';

// app
import { Theme } from '@astryxdesign/core/theme'
import { neutralTheme } from '@astryxdesign/theme-neutral/built'
import { Button } from '@astryxdesign/core/Button'

<Theme theme={neutralTheme}>
  <Button label="Save changes" variant="primary" clickAction={save} />
</Theme>
```

https://astryx.atmeta.com/components

Loading website

[Visit](https://astryx.atmeta.com/?utm_source=tastebase&utm_medium=referral&utm_content=floating-pill)
