> For the complete documentation index, see [llms.txt](https://hyperdapp.gitbook.io/code-editor/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hyperdapp.gitbook.io/code-editor/guides/prompt/button.md).

# button

* For displaying a button, you can use the `button()` predicate:

```
// SYNTAX
button(BTN_LABEL, [...ACTIONS])

// EXAMPLE
prompt :-
  show [
    button('Mint', [
        call_fn(hyperdapp, mint, [value(eth(0.1))], [])
    ])
  ].
```

This snippet will display a ***Mint*** button that, on click, will trigger the ***mint*** payable method from the ***hyperdapp*** smart contract. The payable amount is ***0.1 ETH***
