---
title: PortalComponent.Portal
framework: realitykit
role: symbol
role_heading: Structure
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: realitykit/portalcomponent/portal
---

# PortalComponent.Portal

A pair of related entities that make up a configured portal.

## Declaration

```swift
struct Portal
```

## Overview

Overview makePortal(surfaceStyle:boundaryStyle:boundaryMode:) returns this value. You’re responsible for adding both entities to your scene.

## Topics

### Instance Properties

- [portalEntity](realitykit/portalcomponent/portal/portalentity.md)
- [worldEntity](realitykit/portalcomponent/portal/worldentity.md)
