Chai UI
Open-source React, Vue and Svelte components for generative AI apps: one prompt bar and result UI that controls every AI model from one place, on Fal.ai, OpenRouter or Vercel AI Gateway.
Working when we checked on .
What is Chai UI?
Chai UI provides open-source React, Vue, and Svelte components for building AI application interfaces. It targets designers, developers, and AI agents who need ready-made UI elements such as a prompt bar (Composer) and result UIs. Components cover model routing, prompt optimization, media analysis, and image editing, with support for providers like Fal.ai, OpenRouter, and Vercel AI Gateway. Version 1.6.1 ships 6 components, 148 tokens, and 5 packages, with source code available on GitHub.
Chai UI pricing
Pricing model: Free
Open source (free)
Chai UI pros
- Open source with source code on GitHub
- Supports React, Vue, and Svelte frameworks
- Works with Fal.ai, OpenRouter, and Vercel AI Gateway
- Copy-and-paste code examples for a working prompt bar
- Components for model routing, prompt optimization, media analysis, and image editing
Chai UI cons
- Only 6 components available in version 1.6.1
- No pricing or support details documented on the homepage
- Newer use cases like world models are not yet available
Frequently asked questions about Chai UI
What is Chai UI?
Chai UI is a set of open-source React, Vue, and Svelte components for AI apps, giving developers one prompt bar and result UI for every AI model across providers like Fal.ai, OpenRouter, or Vercel AI Gateway.
Which frameworks does Chai UI support?
Chai UI supports React, Vue, and Svelte, with packages such as @chai-ui/react, @chai-ui/vue, and @chai-ui/svelte plus shared design tokens.
Which AI providers does Chai UI work with?
The site lists Fal.ai, OpenRouter, and Vercel AI Gateway as providers the components can route to, so every AI model is controlled through one interface.
Who is Chai UI for?
It is aimed at designers, developers, and AI agents building AI apps, providing components for model routing, prompt optimization, media analysis, and image editing.
What is the Composer component?
Composer is a prompt bar for AI apps. It tracks prompt input via value/onChange and hands everything it tracks to your onSubmit handler when the user submits.
How much does Chai UI cost?
Chai UI is open source, so the components are free to use, and the source code is publicly available on GitHub.
How many components and packages does Chai UI include?
Version 1.6.1 includes 6 components, 148 design tokens, and 5 packages according to the homepage.
Where can the source code be found?
The source code is available on GitHub at github.com/kazarazat/chai-ui, linked from the homepage as 'View Source Code'.