Vercel has launched UI SDK, an open-source TypeScript library currently in beta under `vercel-labs/ui` on GitHub. This SDK redefines how UI elements are constructed by treating common interactions such as keyboard navigation, focus management, selection, popups, and drag-and-drop as distinct, reusable behaviors. These behaviors are not embedded within final components but are instead composable units.
The core behaviors reside in `@ui-sdk/core`, with Vercel having built over 50 such behaviors, including `createPopup`, `createSelection`, and `createRovingFocus`. Developers, and more notably AI agents, combine these helpers within `definePrimitive` to declare a component's state, API, and slots. Framework adapters then render these primitives using `createParts` for React, Vue, Svelte, Solid, or as Web Components. These parts are unstyled and expose attributes and CSS variables for customization. A starter library of over 50 unstyled components, like Color Picker and Calendar, also uses these behaviors and maintains consistent part names across all five adapters.
A key feature of UI SDK is its design for use by AI agents. The `ui-sdk` skill, installable via `npx skills add vercel-labs/ui --skill ui-sdk`, directs agents to the SDK's Markdown documentation. At runtime, `createAgent` from framework-specific packages (e.g., `@ui-sdk/react/agent`) provides `snapshot`, `act`, and `query` methods. These allow an agent to read component state and invoke actions through the component API without relying on visual screenshots. Applications can approve or deny agent steps, and change callbacks can identify 'agent' as the source and cancel modifications. `registerTools` can expose these methods to browser agents via WebMCP if `document.modelContext` is available.
The UI SDK enters a landscape with existing headless UI libraries such as Radix UI, Base UI, React Aria, Ark UI, and Headless UI. While `shadcn/ui` operates at a higher level as a component kit, Vercel's UI SDK positions itself lower, focusing on composable behaviors that are shared across frameworks. Its primary differentiator is the integrated first-class agent bridge. Vercel acknowledged contributions from teams behind Radix, Base UI, React Aria, shadcn/ui, Nuxt UI, and Geist. Vercel has not indicated whether `shadcn/ui` will be re-implemented using UI SDK.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
Vercel has released UI SDK, an open-source TypeScript library that treats UI elements like keyboard navigation and drag-and-drop as reusable behaviors. This SDK allows developers and AI agents to combine these behaviors to define component states and APIs once, then render them across multiple frameworks like React, Vue, and Svelte, offering a new approach to cross-framework UI development with agent integration.