List Block Overview

The features of the List block.

List block layouts
List block layouts

Now, let's find out what the common features of the block are and how they are configured.

To start with, you need to connect a data source from Settings ⇒ Data Source or or hit Connect Data Source directly from the block settings sidebar. Learn more about data source and how to configure them here.

As soon as you connect a data source, your block settings will become available and you can start setting it up. In this overview, we will not build a list but will rather review different list layouts and explore their specific features. So, let’s review the settings that are common for all the list layouts, and then we'll take a closer look at each layout in the next sections.

Data

After adding any of the list layouts from Blocks => Dynamic => List, you need to select the source where you want to import your data from. This is done from the Data tab of the block settings. Below, we’ve selected Airtable as a data source and can now select the specific base and table we want to connect to.

Block’s data tab
Block’s data tab

As soon as we select a Base and Table, we'll see the rest of the Data settings appear below. Let's take a look at those as well.

Default View

Here, you can set one of your Airtable table views as a default view, and the items in the list will be sorted and filtered according to the sorting and filtering configuration of that particular view. It can be a different type (e.g. "Calendar") or the same type but with different configuration (e.g. with different filters applied).

Views on Airtable
Views on Airtable

List Settings

Sort by

Here you have a list of available sorting options based on your Airtable fields (columns). Each field will have an ascending and descending order options (see below).

Sorting
Sorting

Items per page

You can choose how many items appear in the list by default. If there are more items to display, a See More button will be added at the end of the list, allowing the user to expand the list and view the additional items.

Items per row

You can also choose how many items ("3" or "4") each row should contain.

💡
When there's an inline filter on the Right or on the Left the value is automatically set to "3" and can't be changed.

Empty state

This field allows you to customize the message that's shown when the block can't fetch any results for a given search query or due to some other reason.

Conditional Filters

Conditional Filters allow you to filter the list for one or more users based on the defined conditions. Check out the List Conditional Filters section for more details.

Features

Next, we have the Features tab, where we can configure some additional parameters for our list block as well as map the block fields to Airtable to specify what data needs to be displayed and how. Let's take a look.

Inline Filters

Lists can have one or more Inline Filters, where you can define specific fields and their options, using which users can filter the list.

Inline filters
Inline filters

Label

Here you set the title of the filter.

 

Filter by

And this is where you choose which table field you want to have the list filtered by. All the table fields are available for selection (see below).

Selecting a filter by field
Selecting a filter by field

Options

Next, you need to set the available options for the selected fields. For instance, if you want to filter by the "Language" field, and it has "English" and "German" as its options, you can add any of these options here (separated by a semi-colon) to appear as the filter categories.

Selecting filter options
Selecting filter options

However, if the selected Filter by fields's type is single- or multi-select, the options will be fetched from Airtable automatically. In the example below, we select the Status field which is single-select and has task status options on Airtable as shown below.

Status field on Airtable
Status field on Airtable

Below you can see how the options are generated after selecting the field in Filter by.

Selecting a single select field
Selecting a single select field

Position

Further on, you can set the position of your filter (Top, Left, or Right).

💡
Please, note that you can't have filters both on the Left and on the Right.

Show as

You can display the filter options as a List or Dropdown as shown below.

Switching from List to Dropdown
Switching from List to Dropdown

Allow multiselect

If you enable this, the users will be able to select more than one option at a time.

Search Bar

Show Search Bar

Using this toggle you can remove the search bar from your list if you don't need it.

Show/hide search bar
Show/hide search bar

Placeholder search text

Here you can customize the text that appears within the search bar as a placeholder.

 

Search by

Search by
Search by

Under this option, you choose which fields the search is going to be performed by. You can add one or more fields, but if you don't add anything, the search will return all the list items for any query. Therefore, it's best to select at least one field for meaningful results.

See More Button

Here, you can configure the See More button's (for showing more items in the list) label and styling.

List Item

This is where you configure how the Airtable base is going to be mapped to your list. For each layout (discussed in subsections to this article), there is a default set of fields, for which you can set a corresponding field (Content) from your Airtable base or hide the field if you don't need it.

Mapping the field and hiding it
Mapping the field and hiding it

Apart from that, you can add new fields using the Add field button. After adding the field, you need to specify its Type and set Content (corresponding Airtable field). For some types, there is also a Label parameter added (appears above the field content), which can be modified or removed if not needed.

Adding a new field
Adding a new field

There is a variety of types to choose from, so let's go through them one by one:

  • Text – plain text
  • Rich Text – long text, markdown, or html
  • Headings – different size headings
  • Url – clickable Url
  • Button – button with the standard list of actions (Open Page, Scroll to Section, Open External Url)
  • Tag – for displaying one or more tags (e.g. if you have a multiselect field on Airtable with multiple values, they'll be displayed as multiple tags)
  • File – provides a link for downloading attachments
  • Video/Audio – for directly embedding audio/video content (e.g. from an Airtable Attachment field)
  • Image/Image Gallery - for displaying a single or multiple images (within a gallery)
  • Embed – can be used for embed snippets from different services (e.g. Calendly, YouTube, and so on)
  • Google Maps – for Google Maps embed code
  • Rating – for displaying a rating (Content can be a number from 1 to 5 or a "Rating" Airtable field)
  • Divider – a simple divider line
💡
Google Sheets doesn’t have field types, so please check the Field Types section in Google Sheets data source overview before proceeding.

Clickable List Item

In this section, you can define what happens after clicking on the list item. By default, the Do Nothing options is selected, but there are 3 more options to choose from. So, let's see what each of those does.

 

Open External URL

This option allows you to select one of the table fields, which is supposed to contain URLs, so that each list item opens its own URL.

For example, if you are building a job board, the URL field can be the company website. Thus, after clicking on the list item, the user will be taken to the job posting's company page.

 

Open Page

The Open page option allows linking another page within the app. See below how that works.

Notion image

Open Modal

This option works similar to Open Page, but, instead of navigating to a new page, the user opens the page content inside a modal (i.e. a pop-up). Below, we've configured the modal to work similar to a List Details block, where, for each list item ,the new page displays the details of that very item.

Showing item details in a modal
Showing item details in a modal

Finally, It's possible to select the Size of the modal from the 3 options available.

Embed block

See how this works here.

 
 
Did this answer your question?
😞
😐
🤩

Last updated on December 6, 2022