# ui.Textbox

<br />

A textbox that enables the user to input text information.

<br />

| Usage | Returns |
|---|---|
| `ui.Textbox(*placeholder*, *value*, *onChange*, *disabled*, *style*)` | ui.Textbox |

| Argument | Type | Details |
|---|---|---|
| `placeholder` | String, optional | The placeholder text to display when the textbox is empty. Defaults to none. |
| `value` | String, optional | The textbox's value. Defaults to none. |
| `onChange` | Function, optional | The callback to fire when the text changes. The callback is passed the text currently in the textbox and the textbox widget. |
| `disabled` | Boolean, optional | Whether the textbox is disabled. Defaults to false. |
| `style` | Object, optional | An object of allowed CSS styles with their values to be set for this widget. See style() documentation. |