---
title: Add YouTube videos to your documentation
description: Learn how to add YouTube embeds to your documentation.
---
> ## Documentation Index
> Fetch the complete documentation index at: https://docs.page/officialrajdeepsingh/docs-page-demo/llms.txt
> Use this file to discover all available pages before exploring further.

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>
