Installation

Learn how to install and set up the @livekit/components-react package for React.

Use your favorite package manager to install the LiveKit Components package and its dependencies:

yarn add @livekit/components-react @livekit/components-styles livekit-client
note:

When installing the @livekit/components-react npm package, it's important to note that it relies on the livekit-client and @livekit/components-styles packages. This dependency is necessary for the package to function properly.