Skip to main content
Widgets let users interact with your app and provide data to your Python code.

Buttons

Use a button when you want an action to happen after a click.

Text input and text area

Use text fields for short and longer free-form input.

Selectbox, radio, and checkbox

These widgets are useful for choosing one option or toggling a simple setting.

Multiselect

Use multiselect when users should be able to choose more than one value.

Number input and slider

These widgets are ideal for numeric inputs.

File uploader

Allow users to upload CSVs, images, or other files.

Date and time inputs

Use date and time widgets for scheduling and filtering.

What’s next?

The next step is to organize your app with sidebars, columns, tabs, and forms.

Layouts and Interactivity

Learn to structure your app visually and manage state