# Input prompt (/ink/input)





The ***ink* + Pixi’VN integration** introduces a "# script" that allows you to request an <DynamicLink href="/start/input">input prompt</DynamicLink> from the user. To do this, you need to use the following syntax:

```ink title="ink"
# {operation} input {parameters}
```

* `#`: is the hashtag symbol to identify a hashtag command.
* `operation`: the operation for the input prompt. Currently supported:
  * `request`: request an input prompt.
* `input`: keyword indicating an input request.
* `parameters` (Optional): a space-separated list of property/value pairs. If a value contains spaces, wrap it in double quotes.

Common `parameters`:

* `type` (Optional): a string identifying the kind of input (e.g., `string`, `number`, `html textarea`).
* `default` (Optional): the default value to display in the input field.

<Callout>
  The entered value is saved in storage under the system key `_input_value_`, so you can reference `{ _input_value_ }` in your ink content.
</Callout>

For example:

```ink title="ink/start.ink"
=== start ===
Hello, 
# request input type string // [!code focus]
<>what is your name?
My name is { _input_value_ } // [!code focus]
# request input type number default 18 // [!code focus]
How old are you?
I am { _input_value_ } years old // [!code focus]
# request input type "html textarea" // [!code focus]
Describe who you are:
{ _input_value_ } // [!code focus]
Restart
-> DONE
```

<InputExample />
