Astryx
An open-source design system from Meta, built for people and AI agents
The style
A friendly, open product language. Clean white pages with warm cream panels, a rounded geometric sans for headings and a soft humanist sans for reading. Near-black pills lead, a bright cobalt marks links and product actions, and a sunny yellow adds the odd moment of play. Cards lift gently on soft, layered shadows.
Colours
- Brand#2243ff
- Buttons#19150f
- Highlight#a59400
- Background#fefdfb
- Text#1d1c11
Click a colour to copy it.
Fonts
Outfit
For headings
Figtree
For everything else
Buttons
Near-black pills (32–36px) for site actions; cobalt #225BFF buttons with 8px corners (40–48px) in the product.
Use this style in your project
Pick the way that suits you. The first one needs no design or coding knowledge.
With an AI tool
Your AI tool builds the page for you, in Astryx’s style.
2. Open it in
For developers
Ready-made CSS variables, a Tailwind theme and design tokens, with light and dark modes.
See the codeMake it your own
Change the colours, fonts and shapes, and see the result straight away before you use it.
CustomiseFiles
The code, ready to copy
Every file says where the style came from.
tokens.css — Colours, fonts and sizes as CSS variables, with light and dark modes.
/* Cobalt Matcha — design tokens generated by Markdown */
/* Derived from an analysis of astryx.atmeta.com; how different from the source: a little different (30/100). */
/* Inspired by, not a copy of, the source. Adapt before commercial use; no logos, imagery, copy or proprietary fonts are included. */
:root {
color-scheme: light;
--color-background: #fefdfb;
--color-surface: #f8f4ed;
--color-surface-muted: #f3f2ef;
--color-text: #1d1c11;
--color-text-muted: #6e6d65;
--color-border: #dfdeda;
--color-primary: #19150f;
--color-on-primary: #ffffff;
--color-brand: #2243ff;
--color-on-brand: #ffffff;
--color-accent: #a59400;
--color-success: #2f7e54;
--color-warning: #9c691c;
--color-danger: #a3443e;
--font-display: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
--font-body: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
--font-mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
--text-display: 3.25rem;
--text-display-line-height: 1.25;
--text-display-weight: 600;
--text-display-tracking: 0em;
--text-h1: 2.5625rem;
--text-h1-line-height: 1.28;
--text-h1-weight: 600;
--text-h1-tracking: 0em;
--text-h2: 2.0625rem;
--text-h2-line-height: 1.31;
--text-h2-weight: 600;
--text-h2-tracking: 0em;
--text-h3: 1.625rem;
--text-h3-line-height: 1.37;
--text-h3-weight: 600;
--text-h3-tracking: 0em;
--text-lead: 1.25rem;
--text-lead-line-height: 1.5;
--text-lead-weight: 400;
--text-lead-tracking: -0.005em;
--text-body: 1rem;
--text-body-line-height: 1.6;
--text-body-weight: 400;
--text-body-tracking: 0em;
--text-small: 0.8125rem;
--text-small-line-height: 1.5;
--text-small-weight: 400;
--text-small-tracking: 0.005em;
--text-caption: 0.6875rem;
--text-caption-line-height: 1.4;
--text-caption-weight: 400;
--text-caption-tracking: 0.01em;
--text-label: 0.8125rem;
--text-label-line-height: 1.3;
--text-label-weight: 600;
--text-label-tracking: 0.01em;
--text-code: 0.875rem;
--text-code-line-height: 1.55;
--text-code-weight: 400;
--text-code-tracking: 0em;
--space-1: 4px;
--space-2: 8px;
--space-3: 12px;
--space-4: 16px;
--space-5: 24px;
--space-6: 32px;
--space-7: 48px;
--space-8: 64px;
--space-9: 96px;
--space-10: 128px;
--radius-none: 0px;
--radius-sm: 5px;
--radius-md: 10px;
--radius-lg: 15px;
--radius-xl: 25px;
--radius-full: 9999px;
--border-width: 0px;
--shadow-sm: 0 1px 2px rgb(0 0 0 / 0.05);
--shadow-md: 0 4px 12px -2px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.04);
--shadow-lg: 0 18px 40px -12px rgb(0 0 0 / 0.18);
--duration-fast: 110ms;
--duration-base: 190ms;
--duration-slow: 320ms;
--ease-standard: cubic-bezier(0.24, 1, 0.4, 1);
--ease-enter: cubic-bezier(0.16, 1, 0.3, 1);
--ease-exit: cubic-bezier(0.7, 0, 0.84, 0);
--container: 1224px;
--gutter: 24px;
--button-radius: 9999px;
--button-padding: 12px 16px;
--input-radius: 10px;
--input-height: 48px;
--card-radius: 16px;
--card-padding: 24px;
--badge-radius: 9999px;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
color-scheme: dark;
--color-background: #161410;
--color-surface: #22201c;
--color-surface-muted: #272521;
--color-text: #f0eeea;
--color-text-muted: #9d9b97;
--color-border: #42403c;
--color-primary: #b6a386;
--color-on-primary: #141210;
--color-brand: #2243ff;
--color-on-brand: #ffffff;
--color-accent: #e2cb00;
--color-success: #72ca9b;
--color-warning: #e0a752;
--color-danger: #cd7f7a;
}
}
[data-theme="dark"] {
color-scheme: dark;
--color-background: #161410;
--color-surface: #22201c;
--color-surface-muted: #272521;
--color-text: #f0eeea;
--color-text-muted: #9d9b97;
--color-border: #42403c;
--color-primary: #b6a386;
--color-on-primary: #141210;
--color-brand: #2243ff;
--color-on-brand: #ffffff;
--color-accent: #e2cb00;
--color-success: #72ca9b;
--color-warning: #e0a752;
--color-danger: #cd7f7a;
}
@media (prefers-reduced-motion: reduce) {
:root { --duration-fast: 0ms; --duration-base: 0ms; --duration-slow: 0ms; }
}
See every detail
Buttons
Inputs
Badges
Project
Quarterly field notes
A card groups one idea: a title, one line of support and a clear next step.
Weekly digest is ready
Three new comments and one approval.
npm i @brandless/ui01
Colour
Semantic roles for light mode. Contrast is checked against WCAG AA as you edit.
Background
Surface
Surface muted
- AA 16.8:1
Text
- AA 5.1:1
Text muted
Border
- AA 17.9:1
Primary
- AA 18.2:1
On primary
Brand
- AA 6.3:1
On brand
- AA 3.0:1
Accent
- AA 4.9:1
Success
- AA 4.6:1
Warning
- AA 6.0:1
Danger
02
Typography
Base 16px on a 1.268 modular scale. Only open-licence fonts are recommended.
display
Outfit
body
Figtree
mono
Space Mono
display · 52px / 1.25 · 600 · 0em
The quiet grammar of form
h1 · 41px / 1.28 · 600 · 0em
The quiet grammar of form
h2 · 33px / 1.31 · 600 · 0em
The quiet grammar of form
h3 · 26px / 1.37 · 600 · 0em
The quiet grammar of form
lead · 20px / 1.5 · 400 · -0.005em
Readable text sets the pace of an interface.
body · 16px / 1.6 · 400 · 0em
Readable text sets the pace of an interface.
small · 13px / 1.5 · 400 · 0.005em
Readable text sets the pace of an interface.
caption · 11px / 1.4 · 400 · 0.01em
Readable text sets the pace of an interface.
label · 13px / 1.3 · 600 · 0.01em
Readable text sets the pace of an interface.
code · 14px / 1.55 · 400 · 0em
const tokens = await load();
03
Spacing
A 8px base unit. Use the scale for padding, gaps and section rhythm.
- 4px
- 8px
- 12px
- 16px
- 24px
- 32px
- 48px
- 64px
- 96px
- 128px
04
Shape & surface
Floating chrome uses a blurred, semi-opaque surface over content; body surfaces stay opaque.
Radii
none
0px
sm
5px
md
10px
lg
15px
xl
25px
full
pill
Shadows & borders
0 1px 2px rgb(0 0 0 / 0.05)
0 4px 12px -2px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.04)
0 18px 40px -12px rgb(0 0 0 / 0.18)
Borders: rarely used · Surfaces: translucent
06
Layout
1224px container · 12 columns · 24px gutters
Patterns
- Split hero: message left, supporting visual or product frame right.
- Twelve-column grid; content blocks usually span 4, 6 or 8 columns.
- Contained sections with consistent side gutters.
- Reading text limited to roughly 65–72 characters per line.
Responsive principles
- Below md, grids collapse to a single column and side gutters drop to 16px.
- Type steps above h2 scale down one step on small screens.
- Navigation collapses to a disclosure menu below lg.
- Touch targets stay at least 44×44px on every breakpoint.
07
Motion
Durations and easing curves. Previews respect your reduced-motion setting.
- fast110ms
- base190ms
- slow320ms
ease-standard
ease-enter
ease-exit
Principles
- Motion is measured and calm, easing into place rather than snapping.
- Animate opacity and transform only; avoid animating layout.
- Respect prefers-reduced-motion by replacing movement with instant state changes or fades.
Astryx, its logo and trademarks belong to their owner and are shown only to say where this style comes from. This is our own study of their public website — not made or endorsed by Astryx. Use your own words and images.
More like Astryx

Phantom
A friendly crypto wallet for trading, collecting and exploring web3
Vercel
A cloud platform for building and shipping websites
Cloudflare
The connectivity cloud that powers a fifth of the internet