ProductsDesign system

HorizonUI A2UI

One design system for IDEs, agents and devtools.

131 React 19 components on Tailwind v4 and Radix, in a light and a dark theme with two densities: window chrome, dock panels, a code editor surface, data grids, settings screens and a full set of components for AI agents, which agents can also send as generated UI.

horizonui.dev Star on GitHub

The same tokens ship natively: Compose Multiplatform, SwiftUI, Rust on GPUI and Luau on zgx. Agents answer in all of them through A2UI.

HorizonUI: one design system for IDEs, agents and devtools.
Generative UI · A2UI 1.0A2UI

Agents answer in HorizonUI.

HorizonUI is an A2UI catalog. The agent streams createSurface, then updateComponents: a flat adjacency list of catalog components, each prop a literal or a JSON Pointer binding into the surface's data model. Every renderer resolves the same catalog natively; updateDataModel keeps the surface live, inputs write back to their bound paths, and actions return to the agent with their event context.

67catalog components
5native renderers
24sample surfaces
Surfaces agents generated in HorizonUI, from horizonui.dev's samples: an API health dashboard, a deploy approval, an upgrade plan, a release pipeline, a PR review and an incident
The components

Tactile, with real depth.

Keys that press, wells that sink, trays and cards that lift: one set of soft-depth materials across window chrome, dock panels, a code editor surface, data grids and settings screens. Two themes and two densities, set once on HorizonProvider for everything inside it.

131components
2themes
2densities
horizonui.dev: tactile UI for AI agents, IDEs, dense tools and A2UI, with the install card and a live IDE
Agent components

Interfaces people can follow and trust.

Chat, thinking, tool runs, approvals and diffs: the parts an agent console needs, so a person can see what the agent did and approve what it wants to do next. Apollo, the demo agent in the playground, is built from them.

Apollo, HorizonUI's demo agent, asking permission to run a test command
Docs

A page per component.

horizonui.dev has a live preview, examples, props, keyboard behaviour and the runtimes for every component, a kitchen sink of all of them, and an llms.txt so your agent can build with it too.

A HorizonUI docs page with a live preview
Native

The same look on phones and desktops.

Compose Multiplatform for Android, iOS and desktop, and SwiftUI for iOS and macOS, from the same tokens as the web. 44pt touch targets on phones, the web's density on desktops, native behaviour on each platform.

HorizonUI on iOS: an agent sessionHorizonUI on Android: the agents list

Install

One token source, every platform.

The web package is the source of truth; the native libraries follow its tokens and look.

Web React 19 · npm

npm install @horizonloop/ui

React and React DOM 19 are peer dependencies. Import @horizonloop/ui/styles.css once and wrap the app in HorizonProvider.

A2UInpm install @horizonloop/a2ui

Compose Android · iOS · desktop

implementation("com.horizonloop:horizon-compose:0.4.0")

Compose Multiplatform from Maven Central: Android, iOS, and desktop on macOS, Windows and Linux.

A2UIcom.horizonloop:horizon-compose-a2ui:0.4.0

SwiftUI iOS 17 · macOS 14

https://github.com/horizon-loop/horizon-native

A Swift package, from 0.4.0, with the products HorizonMobile and HorizonDesktop.

A2UIHorizonA2UI, the same package

Rust GPUI · macOS

horizon = { git = "https://github.com/horizon-loop/horizon-gpui", tag = "v0.4.0" }

Plain Rust on GPUI, measured frame by frame against the web.

A2UIhorizon-a2ui, the same tag

zgx Luau · macOS · Linux

git clone -b v0.4.0 https://github.com/horizon-loop/horizon-zgx

A Luau library for zgx apps: copy its horizon/ folder into the app's scripts and require("@horizon").

A2UIhorizon.a2ui, built in

Case study

titan: a home AI server, watched live.

titan is a home server with two RTX 3090s serving a local model. Its console is built on HorizonUI, and these are three of its panels running for real: GPU, memory and CPU, fed by a simulated machine that changes every second.

Open source · Apache 2.0

Building something for agents?

HorizonUI is a HorizonLoop project.