Skip to main content

Build Chat SDK web UIs in Vue or Svelte

By Steven Van ·

Vue and Svelte get their own useChat helpers alongside React, using the same server route and API options.

The Chat SDK web adapter now supports Vue and Svelte, alongside its existing React integration. Because the adapter speaks the AI SDK UI message stream protocol, the same server route works across all three frameworks, each with its own useChat built on the matching AI SDK package.

In Vue and Svelte, useChat returns a reactive Chat instance, so chat.messages and chat.status are read directly in the template rather than destructured. The api and threadId options match the React wrapper, and server setup is unchanged. Details are in the adapters documentation.

Vercel
Vercel
The platform for frontend developers — deploy, preview, and scale web apps and AI agents with zero config.
View Vercel →

Read the original announcement →

Read Build Chat SDK web UIs in Vue or Svelte on Creators Toolbox