Introduction to Components

Everything is a Component

When you're designing in Glide, everything is a screen and every screen has components on it. Components display and let your users interact with your data in powerful ways.
Some components like Lists & Collections show multiple rows of data. Some components like Action Text display only a single value, and others like the Container help you arrange your components into groups.
You can always see what components are on a screen in the Screen Panel on the left.
A detail screen in Apps
Some screens (like list screens in Apps shown above ๐Ÿ‘†) may limit you from adding new components. But most screens, especially in Pages ๐Ÿ‘‡, let you add components wherever you like.
Adding a new component in Pages
Even if you can't add/remove components on a screen, you can always edit them. To edit components; click on the component on the left, and configure the component's settings on the right.
Configuring the Title Component in Pages

Configuring Components

Some components are very simple, like the Button Component, while others are much more complex like the Kanban Collection.
Most components have one or more of the following areas in their settings.
  1. 1.
    โ€‹Data
  2. 2.
    โ€‹Designโ€‹
  3. 3.
    โ€‹Actionโ€‹
  4. 4.
    โ€‹Optionsโ€‹

Data

Data (sometimes called 'Content' or 'Items Data') is where you configure what the component is displaying. Some components can only display a single value from your data and others, like Collections (Pages) let you show multiple properties.
The collection component in Pages lets you display four values in each item

Design

Design lets you tweak a component to style it how you like. With Lists and Collections, the settings here can be quite extensive. But with simple components like the Text Component (Apps) the settings are very minimal.

Action

Many components have the option to add actions. Sometimes you can add only a single action (like the Button Component (Apps) component in Apps) and sometimes you can add many (like the Title Component (Pages)).

Options

Each component has two sections. The General tab and the Options tab. Most components have only Visibility settings here, but Lists & Collections have many other options.

Hands on with Components

Deleting

When you delete components, they don't affect the data in your sheet. If you accidentally delete a component you can hit Command Z (Mac) or Control Z (PC) to bring it back. This also works for many of the other actions you take whilst building your app. Alternatively, you can click the Undo or Redo buttons in the bottom left of your screen.
Deleting components

Duplicating

To duplicate a component, just click the duplicate icon. Bear in mind this will result in multiple components being connected to the same column - which in some circumstances could cause issues for your data.
Duplicating

Copying & Pasting

We can Copy & Paste components, either by using commands or by right-clicking to view the dropdown menu with the different options.
This allows us to save time when it comes to recreating pages. For instance, we can now copy all components from one Details Layout and paste them into another.

Renaming

You can rename components in Glide to help you organize and see them better. Just double-click on the component and rename it. This only affects how you see that component in Glide and does not affect your project.
Renaming components
โ€‹