AIコーディングと開発者ツール

UI SDK (vercel-labs/ui)

vercel-labs/ui

Apache-2.0 headless behavior library from Vercel Labs that lets AI coding agents assemble accessible keyboard navigation, focus recovery, popups, and ARIA across React, Vue, Svelte, Solid, and Web Components.

★ 7Kスター
⑂ 246フォーク数
142未解決の問題
TypeScript言語
Apache-2.0ライセンス
Q85編集部スコア

概要

UI SDK is an open-source behavior primitive library engineered for AI agents and frontend teams building interactive web interfaces. Instead of bundling opinionated visual themes, `@ui-sdk/core` concentrates interaction mechanics—keyboard navigation, focus management, selection, dismissal, popups, drag-and-drop, typeahead, and corresponding ARIA semantics—into composable `definePrimitive` state machines. Framework packages render identical component anatomy through `createParts` across React, Vue, Svelte, Solid, and native Web Components. Created on October 26, 2026, the repository reached over 7,000 GitHub stars in under a month alongside frequent beta releases and a companion agent skill package.

主な機能

  • Framework-agnostic interaction & ARIA primitives in `@ui-sdk/core`
  • Official adapters for React, Vue, Svelte, Solid, and Web Components via `createParts`
  • Dedicated `ui-sdk` agent skill (`npx skills@latest add vercel-labs/ui --skill ui-sdk`)
  • Built-in focus recovery, popup, selection, typeahead, dismissal, and drag-and-drop behaviors
  • Apache-2.0 open-source license with active daily commits

要件、インストール、クイックスタート

1. Install core and your target framework adapter via npm (React shown below; swap `@ui-sdk/react` for `@ui-sdk/vue`, `@ui-sdk/svelte`, `@ui-sdk/solid`, or `@ui-sdk/web`):
npm install @ui-sdk/react @ui-sdk/core
2. Install the UI SDK skill into compatible coding agents:
npx skills@latest add vercel-labs/ui --skill ui-sdk
3. Define behavior primitives using `definePrimitive` and bind DOM slots with `createParts`.

使用方法

Compose stateful primitives with `definePrimitive` (wiring behaviors such as `createFocusRecovery`, `createPopup`, `createSelection`, or `createTypeahead` onto semantic slots like `input` and `clear`), then map each slot to real elements in React, Vue, Svelte, Solid, or Web Components via `createParts`.

モデルの互換性とユースケース

Model-agnostic developer toolkit; ships a dedicated `ui-sdk` skill installable via `npx skills@latest add vercel-labs/ui --skill ui-sdk` for coding agents.

ライセンスとリスクに関する注意事項

Apache-2.0 License in repository LICENSE.

Editorial source review: README, repository metadata, release feed and LICENSE read; no install test.

リリースとメンテナンス

Published in beta (`@ui-sdk/web@0.1.0-beta.16` and `@ui-sdk/core@0.1.0-beta.16`); subject to Vercel public beta terms.

ECC

affaan-m/ECC

★ 248.8KJavaScript

ponytail

DietrichGebert/ponytail

★ 126.8KJavaScript

claude-mem

thedotmack/claude-mem

★ 93.2KJavaScript