Socket
Book a DemoInstallSign in
Socket

@talkjs/web-components

Package Overview
Dependencies
Maintainers
9
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@talkjs/web-components

Provides chat UI components for TalkJS.

latest
npmnpm
Version
0.0.19
Version published
Maintainers
9
Created
Source

Web Components for TalkJS

The @talkjs/web-components library provides chat UI components for TalkJS.

Prerequisites

To use this package, you will need a TalkJS account. TalkJS provides a ready-to-use chat client for your application. Your account gives you access to TalkJS's free development environment.

Examples

Install @talkjs/web-components:

npm install @talkjs/web-components
# or
yarn add @talkjs/web-components

Import from @talkjs/web-components to register the <t-chatbox> custom element. Also import the related styling into the component where you want to have your chat UI:

import "@talkjs/web-components";
import "@talkjs/web-components/default.css";

Then add the Chatbox component:

<t-chatbox
  app-id="<APP_ID>"
  user-id="sample_user_alice"
  conversation-id="sample_conversation"
></t-chatbox>

Replace the <APP_ID> with your TalkJS app ID, which you can find in the Settings tab of the TalkJS dashboard.

For more details, see our framework-specific guides: Vue, Angular, Svelte.

Support

If you encounter any problems with @talkjs/web-components, please open a chat with support. TalkJS support is staffed by engineers.

Keywords

chat

FAQs

Package last updated on 04 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts