# Portal Renders children into a DOM node that exists outside the DOM hierarchy. ```svelte
``` ## How It Works When enabled, the content will move from the source to the target element. ## API Reference ### PortalRootProps | Property | Default | Type | Description | | --------- | ------------- | ------------------------ | --------------------------------------------------------------------------------- | | disabled? | false | boolean \| undefined | If true, the portal functionality is disabled and children are rendered in place. | | target? | document.body | HTMLElement \| undefined | The HTML element to which the portal content will be appended. | | children | - | Snippet\<\[]> | The default slot content to be rendered within the component. |