---
title: Video Chat
description: Video chat in real-time
labels: ["requires interaction", "click"]
author: AashishKatila
---

<ComponentPreview name="widget-video-chat--docs" />

## Installation

<Steps>
<Step>Install dependencies</Step>

```bash
npm install framer-motion lucide-react
```

<Step>Run the following command</Step>

It will create a new file `video-chat.tsx` inside the `components/animata/widget` directory.

```bash
mkdir -p components/animata/widget && touch components/animata/widget/video-chat.tsx
```

<Step>Paste the code</Step>{" "}

Open the newly created file and paste the following code:

```jsx file=<rootDir>/animata/widget/video-chat.tsx

```

</Steps>

## Credits

Built by [Aashish Katila](https://github.com/AashishKatila)

Inspired by [Video](https://x.com/ashugeo/status/1801636250991956036)

Photo by <a href="https://unsplash.com/@whongru?utm_content=creditCopyText&utm_medium=referral&utm_source=unsplash">Hongru Wang</a> on <a href="https://unsplash.com/photos/green-grass-field-under-blue-sky-during-daytime-6F2k0tqNuG4">Unsplash</a>
Photo by <a href="https://unsplash.com/es/@jrkorpa?utm_content=creditCopyText&utm_medium=referral&utm_source=unsplash">Jr Korpa</a> on <a href="https://unsplash.com/es/fotos/papel-pintado-rosa-y-negro-9XngoIpxcEo">Unsplash</a>
