---
title: "Teleport"
description: "This example shows how to use the <Teleport> with client-side and server-side rendering."
canonical_url: "https://nuxt.com/docs/3.x/examples/advanced/teleport"
---
# Teleport

> This example shows how to use the <Teleport> with client-side and server-side rendering.

<code-explorer default-value="app.vue" path="examples/advanced/teleport">



</code-explorer>

<browser src="https://teleport.example.nuxt.space">



</browser>

Vue 3 provides the [`<Teleport>` component](https://vuejs.org/guide/built-ins/teleport.html) which allows content to be rendered elsewhere in the DOM, outside of the Vue application.

This example shows how to use the `<Teleport>` with client-side and server-side rendering.

<read-more to="https://nuxt.com/docs/3.x/api/components/teleports">



</read-more>

---

- [Source](https://github.com/nuxt/examples/tree/main/examples/advanced/teleport)


## Sitemap

See the full [sitemap](https://nuxt.com/sitemap.md) for all pages.
