clairemont-chat-kit

Streamlined chat library seamlessly integrated with Clairemont's system.
1,121
Install
npm install clairemont-chat-kit
Latest Version:1.0.5
Vue:3
Last Updated:Oct 2, 2023
Links: npm
Maintainer: frank2899

Clairemont Chat Kit

Streamlined chat library seamlessly integrated with Clairemont's system.

Installation

Install the package using your preferred package manager:

Using Yarn:

yarn add clairemont-chat-kit

Using npm:

npm install clairemont-chat-kit

Or Via CDN Links

<script src="https://unpkg.com/clairemont-chat-kit@0.0.24/dist/clairemont-chat-kit.umd.js"></script>
<link rel="stylesheet" href="https://unpkg.com/clairemont-chat-kit@0.0.24/dist/style.css">

How To Use

Setup in your main.js

import { createApp } from 'vue'
import App from './App.vue'
import ClairemontChatKit from 'clairemont-chat-kit'
import 'clairemont-chat-kit/dist/style.css'

createApp(App)
.use(ClairemontChatKit)
.mount('#app')

Implement the Chat Kit in your desired component

<template>
  <ClairemontChatKit/>
</template>

Demo

As of now demos might not be updated because currently integrating serverless.

HTML
Vue

Props

Prop Name Type Description Default Value
headerTitle String Sets the header title for the Chat Kit component. 'All Messages'
height String Specifies the height of the Chat Kit component. '800px'
currentUser Object Identifies the current user utilizing the Chat. -

currentUser Object Properties

Property Name Type Description
appId String Unique identifier for the app.
id String Unique identifier for the user.
name String Name of the current user.
phone String phone of the current user.

Usage Example

Here's an example of how to use the ClairemontChatKit component in your Vue.js application:

<template>
    <ClairemontChatKit
        :headerTitle="'Test'" 
        :height="'100%'"      
        :currentUser="{
            appId: '123',
            id: '1',
            name: 'Aughus Bueno',
            phone: '09XXXXXXXXX'
        }"
    />
</template>

Related Packages

vue-beautiful-chat

A simple and beautiful Vue chat component backend agnostic.

366,638 1,562
vue3-beautiful-chat

A simple and beautiful Vue 3 chat component backend agnostic.

34,057 129
@ssvue/vue-beautiful-chat-widget

A simple and beautiful Vue chat component backend agnostic.

7,990
goddaw-vue

Vue plugin for Goddaw chat

5,157
@serdoo/vue-beautiful-chat

A simple and beautiful Vue chat component backend agnostic.

2,407

Version History

Version Released Vue License
1.0.5 ^3.3.4
1.0.3 ^3.3.4
1.0.2 ^3.3.4
1.0.1 ^3.3.4
1.0.0 ^3.3.4