New 6 platforms · 180+ components · 10 export formats

Design once.
Feel native everywhere.

Clay is one design system that speaks every platform's language: Web, iOS, Android, macOS, Windows and Linux. Pick a platform, tune colour, type and radius live, then ship with one CDN line or export native tokens.

Human InterfaceNative feel, auto-adapted
Live tokens--clay-primary updated
SwiftUI · Compose · FlutterExported in one click
6platforms
180+components
~37kbCSS + JS, gzipped
0dependencies
One system · six dialects

Same markup. Native on every OS.

The markup below is identical in all six cards. Only data-clay-os changes. Switches, segmented controls, inputs and buttons take on each platform's own shape, type and motion.

Why Clay

Everything an interface needs, nothing it doesn't.

Token-driven to the core

More than 120 CSS custom properties cover colour, shape, type, spacing, density, depth and motion. Change one variable and every component follows. Light, dark and auto modes come built in, and colour ramps are derived for you with color-mix().

Every device

Phone, tablet, desktop, watch and TV breakpoints, with device frames for mockups and safe-area aware bars.

Accessible by default

Native elements, ARIA roles, keyboard navigation, visible focus rings, a contrast checker and reduced-motion support.

Zero dependencies

One CSS file and one optional JS file. Works with plain HTML, React, Vue, Svelte, Angular, Astro, Rails, Laravel and Django.

Native token export

Ship the same theme to SwiftUI, Jetpack Compose, Flutter, WinUI/XAML, GTK, Tailwind, SCSS and Figma (DTCG).

Live theming

Your brand, in seconds.

Drag a slider and watch the whole system respond. Your theme is saved locally, shareable by link and exportable to any platform.

Platform
Appearance

Colour, radius, typeface, density, spacing, shadows and motion live in the Foundations panel on the components page.

Open the playground Export tokens
Account Create workspace
Dark mode
Notifications
Theme applied
Every component updated instantly.
LiveStableBetaDesignCode
MAJSKL+12 collaborators
Every surface

From watch face to wall display.

WebHTML · React · Vue · Svelte
iOS & iPadOSSwiftUI · Capacitor · PWA
AndroidCompose · Flutter · RN
macOSSwiftUI · Electron · Tauri
Windows 11WinUI 3 · WPF · Electron
LinuxGTK 4 · libadwaita · Tauri
TabletSplit views · sidebars
WearablesCompact density tokens
TV & kiosksSpacious density · focus
Email & docsStatic token export
Ship it

Three lines to native.

1Add from CDN

Drop the stylesheet and runtime into any page. No build step.

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/clay-ds@1/dist/clay.min.css">
<script src="https://cdn.jsdelivr.net/npm/clay-ds@1/dist/clay.min.js" defer></script>

2Pick a platform

Set it in HTML, or let Clay detect the visitor's OS.

<html data-clay-os="auto" data-clay-mode="auto">
<body class="clay">
  <button class="clay-btn">Continue</button>

3Make it yours

Theme at runtime, or export tokens to native apps.

Clay.init({ os: 'auto', mode: 'auto' });
Clay.setTheme({ primary: '#e11d48', radius: 16 });
Clay.export('swiftui'); // or compose, flutter…
Free · MIT licensed

Build something beautiful.

Clay is open source and free for personal and commercial projects. Star it, fork it and make it yours.