---
title: Add YouTube videos to your documentation
description: Learn how to add YouTube embeds to your documentation.
---

Use the `<YouTube />` component to embed [YouTube](https://youtube.com/) videos in your documentation.

## Example

<YouTube id="X8ipUgXH6jw" />

```jsx
<YouTube id="X8ipUgXH6jw" />
```

## Props

<Property name="id" type="string" required>
  The ID of the YouTube video to display.
</Property>