Friday, November 13, 2026

UI SDK

★2,299Must watch
DemoAPI

Vercel Labs open-sourced UI SDK: behavior primitives (focus, selection, popups, drag) so coding agents build real accessible UI across React, Vue, Svelte, Solid, and web components.

UI SDK

Why it matters

UI SDK is a headless behavior library, not a styled design system. Core packages define primitives like focus recovery, selection, typeahead, dismissal, and popups with the ARIA they need. Framework adapters render the same parts in React, Vue, Svelte, Solid, or web components. Docs live at ui-sdk.dev, and a skill install path teaches agents how to define primitives instead of inventing one-off components.

Agents still spit out pretty buttons that break keyboard nav, focus traps, and ARIA. UI SDK puts the hard interaction rules in a shared core your agent can compose, so you get product UI that works like a human-built component library without hand-writing every behavior twice.

How it works

Install @ui-sdk/core plus an adapter such as @ui-sdk/react. Define a primitive with definePrimitive (state, api, slots), then createParts in your framework and mount the parts as normal components. Give the agent the skill with npx skills add vercel-labs/ui --skill ui-sdk so it writes the behavior layer for you. Same primitive definition ports across the five adapters.

Astryx and shadcn-style kits hand you finished components. Hallmark and Impeccable polish vibe UI after the fact. UI SDK is the missing middle: agent-first behavior bricks that stay framework-agnostic, so the interaction model is correct before anyone picks a theme.

Capabilities

DemoAPI
  • Public demo available
  • API / SDK surface

Similar tools

uiagentsaccessibilityreactheadlessvercel
Source ↗

Via github

X