Back to gallery
vercel-labs/ui on GitHub — open-source project preview
vercel-labs
Built byvercel-labs/

ui

Stars
6.7k
Forks
0
Watchers
0
Open issues
0
main Updated 11 hours ago~6,728 stars/day lifetime
Editor's take

UI SDK is a Vercel Labs library of headless behaviours (keyboard navigation, focus, selection, dismissal, popups, drag and drop, plus ARIA) designed for coding agents to compose into components. You install `@ui-sdk/core` with an adapter for React, Vue, Svelte, Solid or Web Components, then add the agent skill so your agent writes primitives with `definePrimitive`. The bet is that agents should assemble accessible components from tested behaviours instead of reinventing focus traps. The tradeoff: it is in beta, the API is meant to be written by agents rather than people, and it competes with mature headless kits. Apache-2.0, about 6.7k stars.

Use this if

Your agent generates custom components and you want accessibility behaviour coming from a tested library, not the model.

Skip if

You are happy on Radix or Base UI with shadcn; this is beta and solves a problem you have already solved.

UI ComponentsAI & ML
Quick install
# Clone + explore:
git clone https://github.com/vercel-labs/ui
cd ui
# Then read the README below for setup steps.

Inferred from package · always double-check against the official README below.

Live data via GitHub REST API · Cached 30 min · Created 24 Nov 2026