Simple List Component

Overview

Simple lists are used to organize and display information in an easy-to-read format. They help present data or options in a structured manner, making it convenient for users to scan through and find what they need quickly. Think of a list as a tidy way to show items like contacts, tasks, or menu options, saving space and making navigation smoother within an app.

Properties

You can customize the Simple List with the following properties:

Simple List

Advanced Properties

Layout

Style

Simple List Blocks

To access the blocks specific to the simple list component:

  1. On the Design tab, add a Simple List component to a screen.

  2. Navigate to the Blocks tab.

  3. In the component tree on the left, click the name of the simple list component.

  4. A drawer of simple list-specific blocks opens.

Event Block

When Simple List Item Click

This event fires and performs an action when the user clicks on an item within a simple list component.

Outputs

Properties Blocks

There are two types of property blocks: dark green "set" and light green "get" blocks. The specific blocks available vary according to the UI component.

The dark green set blocks allow you to change the component's properties using blocks. For example, if you don't want a group component to be enabled for a user until they've typed a set number of characters into a text input component, you can use the group's dark green set group's disabled status block.

The light green get blocks allow you to access the properties of a component (e.g. color, font, width, text, etc.).

Sample Blocks Combinations: Set Simple List's Text Items to

There are various ways you can define the items in a list using blocks. Using the "set simple list's text items to" block, you can:

  • Type each list item.

  • Make the list from a string of text.

  • Pull list items from a column of a connected data source. This method allows you to create a dynamic simple list where the information displayed to the user changes whenever you change your cloud-based data in the data source.

Have feedback on this doc? Please take a moment to share your feedback here: Thunkable Docs Feedback. Your valuable insights will help us improve and better serve you in the future.

Last updated