@zean-chat/react
v0.1.9
Published
Live chat widget for React and Next.js: add a free customer support chat to your app with one component and a hook. Intercom and Crisp alternative.
Maintainers
Readme
@zean-chat/react: live chat widget for React and Next.js
Add a free customer support chat to your React app with one component and a hook, with Zean. Works with Next.js, React Router and TanStack Start. Your App key is in your Zean dashboard.
npm install @zean-chat/reactimport { ZeanChat, useZean } from "@zean-chat/react";
// Once, in the root layout or root route.
<ZeanChat appKey="app_your_app_key" user={user ? { id: user.id, name: user.name, email: user.email } : undefined} attributes={{ plan: "pro" }} />;
// Anywhere.
const { open, close, toggle, unreadCount, identify, signOut, setAttributes } = useZean();Passing user signs the person in; undefined signs them out. Full guide: install the chat in React and Next.js, React reference.
Why Zean
- Free plan to start. Paid plans in FCFA, payable by Mobile Money.
- Shared inbox for your team. Reply from your phone.
- Verified identity, webhooks, French and English. Fast even on 3G.
Links
Zean live chat · Documentation · Create a free account · Zean vs Intercom · Zean vs Crisp
Other SDKs: @zean-chat/js · @zean-chat/react · @zean-chat/vue · @zean-chat/react-native
