Today's AI open source · 2026-11-18
vercel-labs/ui
UI SDK is a behavior library designed for agents to assemble UI components.
| Repository | github.com/vercel-labs/ui ↗ |
|---|---|
| Main language | TypeScript |
| License | Apache-2.0 |
| GitHub stars · forks | ★ 5,545 · 182 forks (as of 2026-11-18) |
| Created · last update | 2026-10-26 · 2026-11-17 |
| GitHub topics | accessibility, agent, agents, ai, aria, behaviors, component, component-library |
Overview
UI SDK is a library that packages keyboard navigation, focus, selection, popups, drag and drop, and the ARIA attributes these interactions need into reusable "behaviors." Instead of finished components, it provides the pieces that make up components. According to the repository, an agent given these pieces can build not only a Select but also autocompletes, comboboxes and new components that do not exist yet.
In the core package @ui-sdk/core, you define state, API and slots with definePrimitive and create components for each framework with createParts. There are adapters for React, Vue, Svelte, Solid and Web Components, and all five frameworks use the same part structure.
It ships with skills for agents. It suits frontend teams that want to hand UI work to a coding agent rather than having developers write behavior code by hand.
Why it is worth a look
Its design as a UI library whose main user is an agent rather than a person is new. It provides behavior units instead of finished components and teaches how to combine them through skills. According to the official page, another goal is to let agents read pages and operate controls directly without screenshots.
Key features
- It provides behaviors such as createPopup, createSelection, createTypeahead and createRovingFocus; according to the official page, there are more than 50.
- Each behavior includes the ARIA handling needed for keyboard navigation, focus and screen reader support.
- The React, Vue, Svelte, Solid and Web Components adapters use the same part structure.
- It provides a ui-sdk skill that helps agents learn and combine behaviors.
- It includes example components built from behaviors, such as a color picker, calendar, tree and OTP input.
What it is used for
- Use it to have a coding agent build accessible UI components.
- Use it to manage components with the same behavior across multiple frameworks.
- Use it to assemble new interactive components that existing component libraries lack.
Getting started
- Install the core package and the React adapter with npm install @ui-sdk/react @ui-sdk/core. For other frameworks, swap in one of @ui-sdk/vue, @ui-sdk/svelte, @ui-sdk/solid or @ui-sdk/web.
- Add the UI SDK skill to your agent with npx skills@latest add vercel-labs/ui --skill ui-sdk.
- Ask the agent for the component you need, or define a primitive with definePrimitive and render it with createParts.
What to weigh
- It is licensed under Apache-2.0, but the Vercel beta terms also apply during the beta period.
- It is currently in beta and the project was created in October 2026, so the README states that APIs and behavior may change before the official release.
- Because the workflow centers on using agents, you need a separate coding agent that supports skills.
Related terms and companies
Sources
Written with AI assistance from the repository README and GitHub data. Star counts and other numbers are GitHub values as of the date shown; features and licensing can change, so check the repository.