Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

UI blocks (input and output)

Build a simple app from your project with input and output blocks.

Input and output blocks turn a project into a simple app: users enter values in the input block, the project runs on them, and the output block shows the result.

Input block

An input block can take:

  • Text

  • A number

  • A choice from a dropdown

  • Several choices from a multi-select list

  • A value from a slider

  • An uploaded file

The value is available as a variable to the blocks connected after it.

Output block

In an output block, choose which variables from your project to show, such as a chart, a table or a summary.

Example

An input block asks for a department. A Python block filters employee data for that department and calculates summary statistics, a GenAI block writes a summary, and an output block shows it.

For a full, standalone app, deploy one instead. See Apps.

Last updated

Was this helpful?