> ## Documentation Index
> Fetch the complete documentation index at: https://docs.oxpher.wtf/llms.txt
> Use this file to discover all available pages before exploring further.

# ⌨️ | Input Box

Oxphers input box will display and will execute whatever you wire to it.

## Syntax

```lua theme={null}
OxpherAPI.InputBox(title, placeholder, onlyNumbers, maxChars, callback)
```

## Parameters

* `title` (string): the heading on the box
* `placeholder` (string): hint text shown while the field is empty
* `onlyNumbers` (boolean): `true` to accept digits only
* `maxChars` (number): character limit
* `callback` (function)

## Returns

Nothing.

## Example

```lua theme={null}
OxpherAPI.InputBox("Add Money", "Amount", true, 10, function(value)
    local amount = tonumber(value)
    if not amount then return end
    OxpherAPI.TriggerServerEvent("wallet:add", amount)
end)
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.