---
url: https://talkjs.com/docs/UI_Components/React/Installation/
title: "Install React components | TalkJS Docs"
---

For AI agents: Find a documentation index at https://talkjs.com/llms.txt (full content at https://talkjs.com/llms-full.txt). Get a markdown version of any page by appending .md to its URL path.

# Install React components

Install the React Components package and its required styles.

Install the [`@talkjs/react-components` package](https://www.npmjs.com/package/@talkjs/react-components), the [`@talkjs/core` package](https://www.npmjs.com/package/@talkjs/core) along with `react` and `react-dom`:

**npm**

```shell
npm install @talkjs/react-components @talkjs/core
```

**yarn**

```shell
yarn add @talkjs/react-components @talkjs/core
```

Import these packages into the component where you have your chat UI:

```js
import { Chatbox } from '@talkjs/react-components';
import '@talkjs/react-components/default.css';
```

You have now installed TalkJS chat UI components for React.
