AI News
All projects
Library

UI SDK provides accessible UI behaviors for agents building interfaces

UI SDK is a beta library of interface behaviors, including focus, keyboard navigation and popups, that agents can use to build and drive user interfaces across several frameworks.

UI SDK by vercel-labs · 7,545 GitHub stars when we found it · added

UI SDK, from the vercel-labs organisation, is a library of behaviors for agents to build and drive user interfaces. According to the README, keyboard navigation, focus, selection, dismissal, popups, drag and drop, and the ARIA they need live in @ui-sdk/core. Adapters are available for React, Vue, Svelte, Solid and Web Components. The author writes that the project is in beta, and that the framework, APIs and behavior may change before general availability.

To use it, install @ui-sdk/core with the adapter for your framework, then run npx skills@latest add vercel-labs/ui --skill ui-sdk to give your agent the UI SDK skill. Components are built by defining a primitive with behaviors such as createFocusRecovery, then rendering it with createParts. The README shows the same search field in React, Vue, Svelte, Solid and Web Components, and says the parts are the same in all five.

The README says you don't need to learn to write the primitives yourself, because your agents will, and that the authors made them good at it. It gives no measure of that claim. The beta terms section points to Vercel's public beta agreement. Contributions are welcome through CONTRIBUTING.md.

In the author's words

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

From the README or the author's post. We checked that the sentence is there, not that it is true.

When to reach for it

Someone building an agent-driven interface might use it to define focus, keyboard and popup behavior once and render it across several frameworks instead of rewriting it for each one.

See it

AI wrote this entry from the project's own README or its author's post. What the project does, and that AI built it where the entry says so, are the author's statements, quoted here. Nobody at IKANGAI ran or tested it. How this list is made