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 thelivekit-client
and@livekit/components-styles
packages. This dependency is necessary for the package to function properly.