# PortalProvider
A component that manages the rendering of portals for overlay components.
## Import
```tsx
import { PortalProvider } from '@coinbase/cds-web/overlays/PortalProvider'
```
## Examples
### Basic usage
The PortalProvider component is typically used at the root of your application to manage overlay components:
```tsx live
function Example() {
return (
Your app content
);
}
```
### Custom Portal Nodes
You can disable the default portal rendering and use the PortalNodes component separately:
```tsx live
function Example() {
return (
Your app content
);
}
```
### Toast Example
The PortalProvider's `toastBottomOffset` prop sets the default bottom offset for all toasts:
```tsx live
function Example() {
function ToastDemo() {
const toast = useToast();
return (
);
}
return (
);
}
```
## Props
| Prop | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |