# UI Blocks (Input and Output)

You can crate an app using the Input and Output blocks.

## Input Block

You can pass input in multiple formats:

* Text Input
* Number Input
* Dropdown
* Multi-select
* Slider
* File Upload

The input from this block can be used downstream in your code to transform the data and the output variable that has to be shown in the app can be selected in the output block.

<figure><img src="/files/GmHNgKo7ZelDpnkBBwwd" alt=""><figcaption><p>Input Block</p></figcaption></figure>

## Output Block

In the output block, we can select any variables created in the code.

<figure><img src="/files/VWK4NcAdk9j53b25k1PI" alt=""><figcaption><p>Output block</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.zerve.ai/guide/notebook-view/blocks/block-types/ui-blocks-input-and-output.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
