> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# `__CreatePage`

## Introduction

Creates a PageElement object.

## Syntax

```jsx
__CreatePage(componentID: string, cssID: number, info: Record<string, any>|null|undefined) : Element;
```

### Parameters

|     Key     | Description                                                                                                                                                                                                                   |
| :---------: | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| componentID | The componentID assigned to the PageElement by the frontend framework, which is a case-sensitive string. The PageElement is a special type of ComponentElement that will be detailed later regarding the role of componentID. |
|    cssID    | The CSSFragment ID, which is a number.                                                                                                                                                                                        |
|     info    | Additional information required when creating the PageElement; this parameter can be omitted.                                                                                                                                 |

### Return Value

Returns the PageElement.

## Example

The frontend framework can create a PageElement in the following way.

```jsx
// main-thread.js
let page = __CreatePage('0', 0, {});
```
