ui: A UI Behavior Library Written Directly by Agents

vercel-labs/ui

·2026.11.13 09:59

Provides interaction logic such as keyboard navigation, focus management, drag and drop, and popup control as pure behavior units that do not depend on any framework. The @ui-sdk/core package includes this core logic along with ARIA accessibility handling, allowing you to focus on defining how the UI behaves.

Adapters are supported for five frameworks: React, Vue, Svelte, Solid, and Web Components. After writing the same behavior code, you can generate rendering components using the framework-specific createParts function, making it easy to maintain consistent UI behavior across codebases.

Unlike existing headless UI libraries, it is designed for AI agents to directly generate components. By granting the agent the UI SDK skill via the npx skills add command, the process of the agent defining behavior-based primitives and writing framework-specific rendering code is automated.

Currently in beta and released under the Apache-2.0 license. It is suitable for developers looking to build UI development pipelines leveraging AI agents or to reuse framework-agnostic, accessible interaction logic.

GitHub
GitHub repository

vercel-labs/ui

A library of behaviors for agents to build the next generation of user interfaces.

TypeScript

This introduction was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.

Our guide explains how the AI works. Report errors, attribution issues, or removal requests via Contact.