# XWUIPortal

Renders children outside the component hierarchy (for modals, popovers).

## Basic Usage

Portal to document.body with z-index.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Portal to document.body with z-index.
```

## Custom Target

Portal into a specified selector.

```example
file: examples/CustomTarget.ts
html: examples/CustomTarget.html
title: Custom Target
description: Portal into a specified selector.
```

## Notification Stack

A toast created inside an overflow:hidden card is portaled into a fixed corner host so it escapes the clipping parent.

```example
file: examples/NotificationStack.ts
html: examples/NotificationStack.html
title: Notification Stack
description: A toast escapes an overflow:hidden card by portaling into a fixed top-right host element.
```

## Inline Fallback Toggle

The same panel toggles between in-place rendering and portaling to body at runtime via setDisablePortal.

```example
file: examples/InlineFallbackToggle.ts
html: examples/InlineFallbackToggle.html
title: Inline Fallback Toggle
description: A button flips a panel between disablePortal (inline) and portaled-to-body, reflecting isActive().
```

```api
```
