Skip to content

This project contains a set of libraries for adapting LiveChat Chat Widget with certain frontend frameworks

License

Notifications You must be signed in to change notification settings

livechat/chat-widget-adapters

Repository files navigation

LiveChat Chat Widget Adapters

This project contains a set of libraries for adapting the LiveChat Chat Widget with certain frontend frameworks, utilizing the Chat Widget JS API.

mit Github lerna version lerna Check

πŸ›  Framework πŸ“¦ Library βš–οΈ Size
React @livechat/widget-react npm bundle size (scoped)
Vue @livechat/widget-vue npm bundle size (scoped)
Angular @livechat/widget-angular npm bundle size (scoped)

πŸ—’οΈ Documentation

For more details and docs about this project, visit the Chat Widget Adapters documentation page.

πŸ“¦ Installation

Use the package manager npm or yarn to install choosen package in your project.

npm install @livechat/widget-*
# or
yarn add @livechat/widget-*

πŸš€ Usage

// App.tsx

import { LiveChatWidget } from '@livechat/widget-react'

export function App() {
  return <LiveChatWidget license="12332502" group="0" />
}
<!-- App.vue -->

<script setup>
  import { LiveChatWidget } from '@livechat/widget-vue'
</script>

<template>
  <LiveChatWidget license="12332502" group="0" />
</template>
// app.module.ts

import { NgModule } from '@angular/core'
import { BrowserModule } from '@angular/platform-browser'
import { LiveChatWidgetModule } from '@livechat/widget-angular'
import { AppComponent } from './app.component'

@NgModule({
  declarations: [AppComponent],
  imports: [BrowserModule, LiveChatWidgetModule],
  providers: [],
  bootstrap: [AppComponent],
})
export class AppModule {}
<!-- app.component.html -->

<livechat-widget license="12332502" group="0"></livechat-widget>

πŸ— Contributing

Read our Contributing Guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes.

This project has adopted a Code of Conduct that we expect project participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.

πŸ“ƒ License

The code and documentation in this project are released under the MIT License.

πŸ§‘β€πŸ’» Text Platform: who are we?

Behind Text, there’s a team of passionate people building online customer service software with online chat, help desk software, chatbot, and web analytics capabilities.

With a suite of five products (LiveChat, ChatBot, HelpDesk, KnowledgeBase, and OpenWidget) and their powerful APIs, we power customer communication for 36,000 companies in 150 countries.

The Platform is a range of products and services that can be used to build a variety of communication tools for businesses. Our Developer Program and Marketplace create an open ecosystem for developers, partners, and customers. With our advanced APIs and comprehensive documentation, you can shape the future of communication with us β€” starting today.

Join our Discord to learn, get inspired, and meet other developers!