Socket
Book a DemoInstallSign in
Socket

react-chat-engine-pretty

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-chat-engine-pretty

<img alt="react-chat-engine-pretty" style='max-height: 333px; max-width: 100%;' src="https://chat-engine

0.1.8
latest
Source
npmnpm
Version published
Weekly downloads
60
200%
Maintainers
1
Weekly downloads
 
Created
Source

react-chat-engine-pretty

Chat Engine ✨Pretty✨

Chat Engine is a devevloper friendly and ✨pretty✨ Chat UI Kit.

Setup a free plan at chatengine.io

Features

  • Typescript (since 2.0.0)
  • Send messages
  • Send images / files
  • DMs and Group Chats

Installation

  • Using npm: npm install react-chat-engine-pretty --save
  • Using Yarn: yarn add react-chat-engine-pretty

Quick Start

Add serverless chat to your React app in 3 minutes.

  • Register then create a project and user at chatengine.io

  • Collect the Project ID / username / User Secret

  • Install yarn add react-chat-engine

  • Import and declare <PrettyChatWindow />

  • You're done!

Example implementation ⬇️

import React from 'react';

import { PrettyChatWindow } from 'react-chat-engine-pretty';

export function App() {
  return (
    <PrettyChatWindow
      projectId="b75e5bd5-cd84-404c-b820-06feff8c98c0"
      username="john_smith"
      secret="pass1234"
      style={{ height: '100vh' }}
    />
  );
}

Props

  • projectId (String REQUIRED) - Public API key for your chatengine.io project
  • username (String REQUIRED) - username of a person in this project
  • secret (String REQUIRED) - Set a secret for this person and use it to authenticate.
  • style (String OPTIONAL) - CSS used to customize the size of your Chat Window

FAQs

Package last updated on 16 Jan 2023

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.