Skip to main content
Open source · MIT

Chativa

A framework-agnostic, themeable chat widget. Web Components, pluggable connectors, and Generative UI streaming — drop a <script> into any page.

<script type="module" src="https://unpkg.com/@chativa/ui/dist/chativa.js"></script>
<chat-bot-button></chat-bot-button>
<chat-iva></chat-iva>

What you get out of the box

Everything below is included in @chativa/ui + @chativa/core. No additional setup.

🔌

Pluggable connectors

Wire any backend in minutes — Dummy, WebSocket, SignalR, DirectLine, SSE, HTTP. Or write your own with a 30-line IConnector implementation.

🎨

Themable to the pixel

Three layers — CSS variables, JSON config, fluent builder. Four window modes (full, popup, side panel, floating). Custom launcher slots.

🪄

Generative UI streaming

Stream <genui-card>, <genui-form>, <genui-chart>, <genui-table>… inline. Send chunks from your agent; the widget assembles them as they arrive.

🧩

Extensions

Middleware lifecycle for analytics, transformers, redaction. Register slash commands from inside an extension. Hooks fire in install order.

📦

Web Component, framework-free

Drop one <script> into any page — React, Vue, Angular, plain HTML. Built on LitElement; uses Shadow DOM so the host page can't leak styles.

🌍

i18n built in

English & Turkish out of the box. i18next under the hood — extend or override at runtime, even per message-action.