> For the complete documentation index, see [llms.txt](https://docs.emobiq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.emobiq.com/emobiq-client/004-ui-components/forms/button.md).

# Button

The 'Button' component is used to create interactive buttons that trigger actions when clicked.

## Properties

| Property      | Value Sample | Value Type | Description                                                                                                                                                                                                                                                                                                                       |
| ------------- | ------------ | ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Name          | button1      | string     | Specifies the name or identifier of the Button component.                                                                                                                                                                                                                                                                         |
| Caption       | Click Me     | string     | The text displayed on the button.                                                                                                                                                                                                                                                                                                 |
| Hide On Print | false        | boolean    | If set to true, the Button component will be hidden when printed.                                                                                                                                                                                                                                                                 |
| Style Class   | button-style | string     | Specifies the style class to be applied to the Button component.                                                                                                                                                                                                                                                                  |
| ID Prefix     | checkbox\_   | string     | \[Only used when placed inside a 'Datalist' component] Specifies the prefix used for the unique identification of this component inside a parent 'Datalist' component. The name identifier of this component will be overwritten with the concatenation of ID Prefix and the value in the data source referenced by the ID Field. |
| ID Field      | data\_id     | string     | \[Only used when placed inside a 'Datalist' component] Specifies the field name from a data source bound to the parent 'Datalist' component. The name identifier of this component will be overwritten by concatenating the ID Prefix and the value in the data source referenced by the ID Field.                                |

## Related Actions

N/A

## Example Uses

N/A
