Paste one prompt into your agent and you're set up. Then pick where to go next.

UI SDK is a library of behaviors, like popups, lists and typeahead, that your agent puts together into components. It works with React, Vue, Svelte, Solid and Web Components.

New here? The Introduction shows how it all works.

Quick Start

Pick your framework, then copy this prompt into your agent.

Prompt
Set up ui-sdk in this React project. It needs React 19 or newer.

1. Install @ui-sdk/react and @ui-sdk/core with the project's package manager.
2. Add a note to AGENTS.md, creating it if needed: before using ui-sdk, follow the ui-sdk skill if it's installed, and read node_modules/@ui-sdk/react/docs/llms.txt. To build a new component, also search node_modules/@ui-sdk/react/docs/core.md by heading, and read rendering.md next to it.
3. If you support skills, run: npx skills add vercel-labs/ui --skill ui-sdk

Then ask your agent to build a component:

Prompt
Build a search field with ui-sdk: a text input and a Clear button that only shows when there's text. Clear empties the input and puts focus back in it. Use our existing styles.

Find a Component

Or see all components.

Build Your Own

Work with Agents

See what's new in the changelog.