<Teleport> renders a component's markup at a different place in the DOM than where it's declared in your component tree — while keeping it logically part of the component (reactivity, props, events all still work).
The problem it solves
Modals, tooltips, and notifications often need to be a to avoid CSS issues — a parent's , , or stacking context can clip or mis-layer a modal. But logically, the modal belongs to the component that triggers it.
