# ui.Button

<br />

A clickable button with a text label.

<br />

| Usage | Returns |
|---|---|
| `ui.Button(*label*, *onClick*, *disabled*, *style*, *imageUrl*)` | ui.Button |

| Argument | Type | Details |
|---|---|---|
| `label` | String, optional | The button's label. Defaults to an empty string. |
| `onClick` | Function, optional | A callback fired when the button is clicked. The callback is passed the button widget. |
| `disabled` | Boolean, optional | Whether the button is disabled. Defaults to false. |
| `style` | Object, optional | An object of allowed CSS styles with their values to be set for this widget. Defaults to an empty object. |
| `imageUrl` | String, optional | Optional image url. If provided, the button will be rendered as an image and the value text will be shown on mouse hover. Only data: urls and icons loaded from gstatic.com are allowed. |