Skip to content

@tkawen/liqaa-react

English — React hooks and components for LIQAA Cloud — drop-in video calls + messaging

عربي — خطافات ومكوّنات React لـ LIQAA.

Terminal window
npm install @tkawen/liqaa-react

React hooks + components for LIQAA Cloud. Built on top of @tkawen/liqaa-js.

npm

Terminal window
npm install @tkawen/liqaa-react @tkawen/liqaa-js
import { LIQAAProvider, LIQAACallButton } from '@tkawen/liqaa-react';
function App() {
return (
<LIQAAProvider
publicKey="pk_live_..."
sdkToken={sdkTokenFromYourServer}
accent="#1d4ed8"
>
<YourApp />
<LIQAACallButton email="support@yoursite.com" name="Support">
Talk to Support
</LIQAACallButton>
</LIQAAProvider>
);
}

Returns the LIQAA client (or null while still loading).

import { useLIQAA } from '@tkawen/liqaa-react';
function CustomCallButton({ email }: { email: string }) {
const liqaa = useLIQAA();
return (
<button onClick={() => liqaa?.startCall(email)} disabled={!liqaa}>
Call
</button>
);
}

Returns { status: 'loading' | 'ready' | 'error', error: Error | null }.

const { status, error } = useLIQAAStatus();
if (status === 'error') return <div>Failed to load: {error?.message}</div>;

Wraps your app and initializes the SDK once. All LIQAAInitOptions from @tkawen/liqaa-js are accepted as props.

Drop-in button that starts a video call. Disabled until SDK is ready.

Drop-in button that opens a chat thread.

Both components are SSR-safe — they render the disabled fallback on the server. The SDK initializes on the client after hydration.

Full types ship with the package. All callbacks are properly typed.

MIT © TKAWEN GROUP


🏛️ TKAWEN Ecosystem · منظومة تكوّن

Section titled “🏛️ TKAWEN Ecosystem · منظومة تكوّن”

EN — Part of TKAWEN, Algeria’s software ecosystem: commerce, certification, meetings and AI infrastructure. One organisation, one trust layer.

عربي — جزء من تكوّن، المنظومة البرمجية الجزائرية: تجارة، توثيق، اجتماعات، وبنية ذكاء اصطناعي. مؤسّسة واحدة، طبقة ثقة واحدة.

Packages · الحزم: @tkawen/mystoq-sdk · @tkawen/mystoq-react · @tkawen/mystoq-mcp-server · @tkawen/mystoq-seo-toolkit · @tkawen/mystoq-maystro-bridge · @tkawen/mystoq-whatsapp-bridge · @tkawen/mystoq-yalidine-bridge · @tkawen/liqaa-js · @tkawen/liqaa-react

MCP Gateway: mcp.tkawen.com — official in the Model Context Protocol Registry (com.tkawen/intelligence-gateway)

Web: tkawen.com · Author · المؤلّف: Hartem Yaakoub · License: MIT