NPM Chat Component – Seamless Messaging for Node, React & TypeScript

Ethora’s npm chat component is a ready-to-use, embeddable chat solution, designed with developers in mind. Our modular chat package is compatible with TypeScript, Node.js, and React frameworks. Whether you’re building a startup or a full-scale enterprise project, Ethora ensures the simple and fast chat integration to your apps.

Try for free
Open-source TypeScript-native Free tier available
Chat
Secure by default, at every layer.
End-to-end encryptionGDPRHIPAA

Build Real-Time Chat Fast with NPM

Building chat applications from scratch can be complex, time-consuming, and error-prone. Ethora’s React chat package offers NPM Chat Component for rapid integration. It’s plug-and-play solution, fully customizable, and compatible with modern tech stacks. With Ethora’s TypeScript chat library you’ll get type safety, modular design, clean architecture, and accelerated go-to-market.

  • Type safety
  • Modular design
  • Clean architecture
  • Accelerated go-to-market
Ethora npm chat component source in an editor

Core Features of the NPM Chat Component

Chat component NPM by Ethora has everything you need to build a powerful chat app. It’s flexible, performance-oriented, and enables engaging chat experiences.

Real-time messaging support.

Our chat module NPM ensures the seamless flow of conversations, making them feel natural.

Lightweight and performant codebase.

We designed Ethora for efficiency, the lightweight npm chat library ensures responsiveness and fast load times on any device.

Modular file structure.

Modular structure allows you to customize the app according to your needs, importing only the features you need.

Scalable for enterprise apps.

No matter the number of users you’re planning to have, Ethora can handle all of them. It’s 100% scalable and enterprise-ready.

WebSocket and REST integration options.

Choose the protocol that fits best to your use case. This will ensure flexibility in backend communication.

Ready to Start?

Spin up a working chat in minutes — free to start, no credit card required.

Start for free

TypeScript & Node.js

Built for TypeScript and Node.js

TypeScript chat library is clear and safe making it a favourite choice for developers. Ethora’s node chat component is natively written in TypeScript to enable simple integration of the component into your Node.js backend stack, ensure clean codebases, type safety, predictable behaviors, and future-proof solutions, and simplify debugging for your chat functionality.

  • Type-safe, predictable behavior
  • Clean, future-proof codebases
  • Works in JavaScript projects too
Built for TypeScript and Node.js

How to Create a Real-Time Chat App with the NPM Component

Chat integration with Ethora is simple. Here’s a tutorial-style breakdown for developers showing how to install a real-time chat NPM component, configure it, and start using it in a React + Node app.

  1. Install via NPM

    bash
    npm install @ethora/chat-component
  2. Import into your React project

    Add the component to src/App.tsx:

    tsx
    import { Chat } from "@ethora/chat-component";
    import "./App.css";
    
    function App() {
      return (
        <Chat />
      );
    }
    
    export default App;
  3. Initialize chat logic

    Pass your App ID and App Secret to connect to your own chat server, users and rooms:

    tsx
    <Chat
      config={{
        baseUrl: "https://api.ethora.com",
        appId: "YOUR_APP_ID",
        appSecret: "YOUR_APP_SECRET",
      }}
    />

    Get your App ID and App Secret by signing up at app.chat.ethora.com. The component ships with a built-in demo mode, so you can test messaging before wiring up a backend.

  4. Style the component

    Override colors, fonts and layout via config props — or replace individual sub-components with your own:

    tsx
    <Chat
      config={{
        colors: { primary: "#0052CD", secondary: "#E7EAF9" },
        ...config,
      }}
    />
  5. Deploy in your Node environment

    Ship it with the rest of your app. For enterprise deployments that require full data ownership, you can deploy Ethora on your own infrastructure (AWS, Azure, GCP, or on-premises).

Chat UI Components Included

Ethora’s pre-built and ready to deploy UI parts included in our React chat package:

Message list

A real-time stream of messages, ready to drop into any layout.

Message input

A flexible field for text, mentions, attachments and commands.

Chat header

Room title, presence and actions — themeable to your brand.

Typing indicator

Live activity cues that make conversations feel immediate.

User list

Presence and roster showing who’s online, away or busy.

Timestamp display

Clear, localized time and read-state on every message.

Thanks to these ready-made components, our chatbox NPM and chat component node reduce development time and efforts, while ensuring polished look and perfect UX.

Pricing

Save Months of Work with Ethora

Build any chat use case into your product: in hours.

  • No credit card needed
  • Start free, upgrade when you’re ready

Free

$0 / mo
free forever
1,000 MAU
100 Concurrent Connections
Sign Up
All Chat & AI features, including:
  • Chat SDKs for web and mobile
  • AI agents and website widget
  • Community Support
  • 30 Days of Free Support
For websites

AI Assistant

$49 / mo
billed monthly, per website
1 website
AI usage included
Get started
AI website assistant, including:
  • Answers from your pages and documents
  • Scheduled re-indexing
  • 30+ languages
  • Lead flows and CRM webhook
  • Email Support
Recommended

Enterprise

$599+ / mo
billed monthly
Unlimited MAU
Unlimited Connections
All Business, plus:
  • 24/7 Phone Support
  • Self-hosted AI
  • Custom Configuration
  • Dedicated / On-prem hosting
Customers

What our clients say about our services.

Taras and the Ethora team are a reliable partner in messaging, tokenization and AI. Great communication and products.

Joe Sticca
Joe Sticca
Digital Product & Technology Leader, Trust Industries

I have worked with Ethora and team since 2018. They have been absolutely amazing and life-saving across multiple of my portfolio projects.

Adam Palmer
Adam Palmer
Co-founder, SIAD Ventures

We partnered with Dappros/Ethora on an EU project and they successfully delivered the technology component. Highly recommended.

Peter Fearon
Peter Fearon
CEO, Remade Group

Ethora has successfully helped us ideate and deliver multiple digital transformation projects in Qatar and the MENA region. A reliable and knowledgable partner.

Tariq Gulrez
Tariq Gulrez
Ministry of Communications & IT

Ethora technology and expertise were instrumental in delivering Atom Connect, our product for streamlined communication in the workers’ comp market.

Carol Valentic
Carol Valentic
CEO, Atom Advantage

Ethora helped us deliver our AI agent solution, letting subscribers access context-specific insights from our vast library of expert content. Their LLM and chat-bot expertise is an excellent match for our AI strategy.

Bret Gregory
Bret Gregory
CEO, DrTalks

Ethora has been an exceptional strategic development partner for Preshent. Not just a vendor, but a core contributor to the future of our platform and company.

John Richardson
John Richardson
Founder & CEO, Preshent Corporation

Ethora helped us ideate and deliver multiple digital transformation projects across Qatar and the MENA region. A reliable, knowledgable partner.

Howaida Nadim
Howaida Nadim
CEO, Foresight Communications

Our Case Studies

Healthcare: HIPAA-compliant AI assistant (RAG) over a medical video library

Dr. Talks is one of the most prominent organizers of online healthcare conferences and summits.

Ethora enabled them to create a context-aware AI-powered chatbot to help users navigate thousands of pages of medical content, correctly referencing pages, authors, videos and timestamps. 100% secure and HIPAA-compliant.

This assistant enhances user experience by simplifying interaction with the platform and reducing search time.

  • 1000+ summits indexed by AI bot
  • Instant user engagement
  • Vector embeddings enable intelligent domain expert AI responses
Read the case study: Healthcare: HIPAA-compliant AI assistant (RAG) over a medical video library

Healthcare: self-hosted patient messaging for a multi-clinic digital health platform in Canada

VITALL is a Canadian digital health platform used by hospitals, clinics and private practices.

Ethora runs as a self-hosted chat server in VITALL’s own AWS account in Canada, with one isolated tenant per clinic, chat in the practitioner portal and in native iOS, Android and React Native patient apps.

Users, rooms and clinics are provisioned by VITALL’s backend through the Ethora API.

  • Self-hosted in the customer’s AWS account in Canada
  • One isolated tenant per clinic, created by API
  • Web portal, iOS, Android and React Native SDKs
Read the case study: Healthcare: self-hosted patient messaging for a multi-clinic digital health platform in Canada

Insurance: in-app chat for a workers’ comp health insurance provider (HIPAA compliant)

Atom Advantage provides workers’ compensation and health insurance solutions in the United States.

On Ethora they built Atom Connect: secure, case-based chat between injured workers, nurses and case managers, embedded in their claims portal and a white-label mobile app. HIPAA and SOC 2 compatible.

Less manual work for case managers and a better experience for injured workers.

  • Chat embedded in the case managers’ web portal
  • White-label iOS and Android app for injured workers
  • One secure room per claim, created automatically by API
Read the case study: Insurance: in-app chat for a workers’ comp health insurance provider (HIPAA compliant)

Virtual worlds: a 3D multiplayer world built from a book, with AI characters, in one weekend

An internal R&D showcase by Ethora’s founder: Alice in Wonderland, The Tempest and A Christmas Carol as 3D worlds you walk through in first person.

Each room is an Ethora chat, each character an Ethora AI agent with the book as its knowledge; a generator and the hosted MCP server build a new world from any book in about four minutes.

  • Built in a weekend on the public SDK, API and MCP
  • Characters answer in character from the text
  • Daily AI budget keeps a public world affordable
Read the case study: Virtual worlds: a 3D multiplayer world built from a book, with AI characters, in one weekend

AI agents on customer websites: support, intake and teaching assistants

Clinics, schools and small businesses build AI agents on Ethora themselves and put them on their own websites, often on the day they sign up.

4 examples, from a US mental health provider and a wellness brand to a university pharmacology course.

  • WordPress plugin or one script tag
  • Answers from the customer’s own pages and documents
  • Self-serve, no developer needed
Read the case study: AI agents on customer websites: support, intake and teaching assistants

Education: CRM-integrated member community app for an international honour society

Golden Key International Honour Society recognises high-achieving university students through chapters around the world. Its member app connects them across chapters and countries.

Social sign-on is bridged to existing CRM membership records, with verified email account linking and a verifiable trail for educational certificates.

  • Cross-platform iOS and Android app
  • CRM-linked member sign-in
  • Verified email account linking
Read the case study: Education: CRM-integrated member community app for an international honour society
Get started

Sign up on Ethora

Install the npm component and go from zero to real-time messaging in minutes.

Open-source Free tier available No credit card

FAQ

How do I install the Ethora NPM Chat Component?

To install the component, run a command: npm install @ethora/chat-component

Is the component compatible with both TypeScript and JavaScript?

Yes, they are compatible. Components written in the TypeScript can be used in JS projects and vice versa.

Does this module support group and private chat?

Absolutely. You can configure chats to your needs, it can be private chats, group chats, and invite-only chats.

What backend services can I integrate with this component?

Node.js, WebSocket, and REST.

Can I fully customize the UI and message logic?

Sure, Ethora is 100% customizable so you can match UI and message logic to your brand and needs.

Do you offer support or SLAs for enterprise customers?

Yes, we offer an enterprise-level SLA and 24/7 support for our enterprise clients.

Is there a free trial or open-source version available?

Open-source is available on GitHub. We also have a free version of our product which is enough to build a working MVP.

How secure is the component for handling user data?

Security is paramount for us, Ethora uses end-to-end encryption and is fully compliant with GDPR and HIPAA.