# embedded-slack-react

> Embedded Slack React is a built-in browser chat using React

Latest version **0.0.2** (published 2017-02-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install embedded-slack-react
pnpm add embedded-slack-react
yarn add embedded-slack-react
bun add embedded-slack-react
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2017-02-26 |
| First published | 2017-02-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Loïc JEAN-LAMBERT |
| Maintainers | pacdiv |
| Keywords | embedded, slack, client, react |

## Links

- npm: https://www.npmjs.com/package/embedded-slack-react
- Repository: https://github.com/pacdiv/embedded-slack-react
- Issues: https://github.com/pacdiv/embedded-slack-react/issues
- npm.io page: https://npm.io/package/embedded-slack-react

## Dependencies (4)

- [react](https://npm.io/package/react.md) ^15.4.2
- [react-dom](https://npm.io/package/react-dom.md) ^15.4.2
- [embedded-slack](https://npm.io/package/embedded-slack.md) 0.0.2
- [babel-preset-stage-2](https://npm.io/package/babel-preset-stage-2.md) ^6.22.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.0.2 (latest) — 2017-02-26

## README

# embedded-slack-react

Embedded Slack React allows you to add a Slack built-in chat on your website using React.

> **Note:** :warning:
> Embedded Slack and Embedded Slack React were been developed as a technical try to determine if Slack can be used from a web page, to allow customers to discuss with a support team. They currently work with a test token so, **at this time, using those packages in production is not recommanded**.

### Prerequisites

----------

You need all [embedded-slack](https://github.com/pacdiv/embedded-slack) prerequisites, nothing more ! :slightly_smiling_face:

### Usage

----------

In this example, we create an EmbeddedSlackReact object with the two mandatory properties:
```javascript
// index.js
import EmbeddedSlackReact from 'embedded-slack-react'
import React from 'react'
import ReactDOM from 'react-dom'

ReactDOM.render(<EmbeddedSlackReact
  channel="your_channel_id"
  token="your_channel_id"
/>, document.getElementById('embedded-slack-wrapper'))
```
```html
<!-- index.html -->
<body>
  <div id="embedded-slack-wrapper" />
</body>
```
Do you see a blue div on the bottom right of your website now ? Good, you made it ! :slightly_smiling_face:

### Built With

----------

[embedded-slack](https://github.com/pacdiv/embedded-slack) - Adds a Slack built-in chat to your website

[react](https://www.npmjs.com/package/react) - React is a JavaScript library for building user interfaces

### License

----------

[MIT](LICENSE.md)

---
_Source: https://npm.io/package/embedded-slack-react · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
