UI SDK, published from the repository vercel-labs/ui, is a headless library of UI behaviors that a coding agent uses to assemble interface components. It is meant for front-end developers who already keep an AI coding agent in their workflow and who are tired of rewriting the same keyboard handling, focus management and ARIA attributes for every dropdown, dialog and combo box they ship. The README is blunt about the intended division of labour: "you don't need to learn how to write this. Your agents will."
What it does
The pieces that make interactive widgets hard live in one package, @ui-sdk/core: keyboard navigation, focus, selection, dismissal, popups, drag and drop, and the ARIA those patterns require. On top of core sit thin adapters for React, Vue, Svelte, Solid and Web Components, so the same behavior set is available in five ecosystems.
The project's own diagram takes an environment selector and splits it into three behaviors: createPopup, createSelection and createTypeahead. That is the mental model. You do not reach for a pre-built Select component; you describe a primitive as a composition of behaviors, and the behaviors carry the accessibility work.
The video's summary of the payoff is accurate to the README: one set of behaviors, built once, with the same parts rendering across all five frameworks.
The repository is new, created on 26 October 2026, and GitHub's own counter puts it at about 6,520 stars and 233 forks at the time of writing. That is attention, not a track record in production.
How it works
Components are declared with definePrimitive from core. A primitive gets a name, a state factory, an api of actions, and a set of slots. The README's example is a search field: state holds the current value, the api exposes a set action plus a createFocusRecovery behavior pointed at the input element, and the slots describe the markup parts. The input slot maps state onto attributes and wires the DOM input event back into api.set. The clear slot has a present predicate so the button only exists when the value is not empty, a press handler that clears it, and a bind hook that attaches the focus-recovery behavior to that element.
Written out, that is a fair amount of declarative plumbing, which is the point: the shape is regular enough that a model can emit it reliably. The project ships an agent skill so your agent learns the API, generates the primitive, and you review the result. The primitive is then rendered through your framework's adapter.
One gap worth flagging: the repository's GitHub topics include mcp and webmcp, but the README section available here does not explain what either integration does, so treat that as undocumented rather than as a feature.
Getting started
The library itself is free and Apache-2.0 licensed, and it needs nothing beyond a Node and npm setup plus a JavaScript framework project; the project lists no operating system, chip, memory or GPU requirements, and no API key of its own. What does cost money is the intelligence: the workflow assumes you have a working AI coding agent to generate primitives, which in practice means whatever subscription or paid API key your agent already runs on. There is no local-model path described in the materials.
Install is a plain package install, no release downloads or sideloading:
npm install @ui-sdk/react @ui-sdk/core- swap
@ui-sdk/reactfor@ui-sdk/vue,@ui-sdk/svelte,@ui-sdk/solidor@ui-sdk/webas needed - then add the skill for your agent:
npx skills@latest add vercel-labs/ui --skill ui-sdk
The code is at github.com/vercel-labs/ui and the documentation at ui-sdk.dev/docs.
When to use it / when not
The main catch is stated by the authors themselves: UI SDK is in beta, and APIs can change before general availability. The second catch is structural. This is not a drop-in component kit you install and start using; nothing here is styled, and the expected path to a working component runs through an agent that writes the primitive for you.
Use it instead of hand-rolling ARIA, or instead of fighting a styled component library's theme layer, when you maintain a design system that has to exist in more than one framework and you want the behavior layer written once. Use it instead of just asking Claude to generate a dropdown from scratch when you want those generated components to share a tested behavior core rather than each inventing its own keyboard handling.
Don't use it if you need finished, styled components today, if you ship on a release cadence that cannot absorb breaking changes in a beta dependency, or if no agent is part of how your team writes code: the ergonomics are tuned for a model, not for a human typing it by hand.
Front-end teams running a multi-framework design system, and teams that have already handed component scaffolding to an agent, should look at this seriously: it is the first widely noticed attempt to make the accessibility layer the durable artifact and the component code the disposable one. Everyone else can reasonably wait. A beta from Vercel Labs with a month of history is a thing to prototype against and watch, not a dependency to put under a shipping product, and the honest test is whether your agent's generated primitives still work after the next API change.