# Page

## Properties

These are the properties of Page, you can both read and write them

***

```lua
page.Name = "My Home Page"
page.Icon = "rbxassetid://123456789"
```

***

## Methods

In Page you can find the following methods:

***

### Select

```lua
page:Select()
```

* Selects the page

***

### Remove

```lua
page:Remove()
```

* Removes the page

***

### Add Textbox

```lua
page:AddTextBox(
    title: string?,
    description: string?,
    layoutOrder: number?
): textbox
```

{% content-ref url="/pages/s8bSShv2pWLV0hOMRx9O" %}
[Texbox](/arceus-x/extensions/ui-library/page/texbox.md)
{% endcontent-ref %}

* Adds a Textbox to the Page

***

### Add Splitter

```lua
page:AddSplitter(
    title: string?,
    layoutOrder: number?
): splitter
```

{% content-ref url="/pages/zgPk5RYm871HvyTzFTic" %}
[Splitter](/arceus-x/extensions/ui-library/page/splitter.md)
{% endcontent-ref %}

* Adds a Splitter to the Page

***

### Add Numeric UpDown

```lua
page:AddNumericUpDown(
    title: string?,
    description: string?,
    defaultValue: number?,
    minValue: number?,
    maxValue: number?,
    increment: number?,
    layoutOrder: number?
): numericUpDown
```

{% content-ref url="/pages/4S6IbPlZxljxpXKuwQVB" %}
[Numeric UpDown](/arceus-x/extensions/ui-library/page/numeric-updown.md)
{% endcontent-ref %}

* Adds a Numeric UpDown to the Page

***

### Add Slider

```lua
page:AddSlider(
    title: string?,
    description: string?,
    default: number?,
    min: number?,
    max: number?,
    layoutOrder:
    number?
): slider
```

{% content-ref url="/pages/ETFmmP2KnQCY4GOvoqK5" %}
[Slider](/arceus-x/extensions/ui-library/page/slider.md)
{% endcontent-ref %}

* Adds a Slider to the Page

***

### Add Toggle

```lua
page:AddToggle(
    title: string?,
    description: string?,
    default: boolean?,
    layoutOrder: number?
): toggle
```

{% content-ref url="/pages/oR7wscEOXKVnxAP058Mx" %}
[Toggle](/arceus-x/extensions/ui-library/page/toggle.md)
{% endcontent-ref %}

* Adds a Toggle to the Page

***

### Add Combo Box

```lua
page:AddComboBox(
    title: string?,
    description: string?,
    options: {string}?,
    layoutOrder: number?
): comboBox
```

{% content-ref url="/pages/PWEOCH8CxnvVjNC99v0b" %}
[Combo Box](/arceus-x/extensions/ui-library/page/combo-box.md)
{% endcontent-ref %}

* Adds a Combo Box to the Page

***

### Add Button

```lua
page:AddButton(
    title: string?,
    description: string?,
    action: string,
    layoutOrder: number?
): button
```

{% content-ref url="/pages/vxEfD8kIRlWFq4AJjsVG" %}
[Button](/arceus-x/extensions/ui-library/page/button.md)
{% endcontent-ref %}

* Adds a Button to the Page

***

### Add Category Title

```lua
page:AddCategoryTitle(
    title: string?,
    description: string?,
    layoutOrder: number?
): categoryTitle
```

{% content-ref url="/pages/wRbbjho5LKiHfjA4BoHi" %}
[Category Title](/arceus-x/extensions/ui-library/page/category-title.md)
{% endcontent-ref %}

* Adds a Category Title to the Page

***

## Events

In Page you can find the following events:

***

### On Opened

```lua
page.OnOpened:Connect(function()
  print("Opened")
end)
```

* Fires when the page is opened, this is not an RBXSignal.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://riky47s-organization.gitbook.io/arceus-x/extensions/ui-library/page.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
