Add YouTube videos to your documentation

Learn how to add YouTube embeds to your documentation.

Use the <YouTube /> component to embed YouTube videos in your documentation.

Example

<YouTube id="X8ipUgXH6jw" />

Props

idstringrequired

The ID of the YouTube video to display.