> 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/input.md).

# input

* For displaying an input, you can use the `input()` predicate:

```
// SYNTAX
input(input_type, input_id)

// EXAMPLE
prompt :-
  show [
    text('Receiver'),
    input(address, receiver_address),
    text('Amount'),
    input(eth, paid_amount)
  ].
```

{% hint style="warning" %}
`input_id` must be:

* unique

* in *snake\_case* **OR** *camelCase*
  {% endhint %}

* Supported input types are:
  * address
  * bytes32
  * eth
  * text

* Input values are automatically saved in the ***Input State.*** You can access them at any time using the **get()** predicate:

```
// SYNTAX
get(input/input_name, InputValue)

// EXAMPLE
get(input/receiver_address, ReceiverAddr)
get(input/paid_amount, PaidAmount)
```
