General properties

This core reference entry is suited for beginner-level builders.

The properties here apply to all in Bubble.

Changing the parent element's type of content

This option modifies the type of content of the parent element on the fly. The type of content defines what type of thing a group should expect, so that you can refer to it when editing the app. For example, a group can receive a user, who isn't necessarily the current user, and then you can add a text element in the group to display the 'Parent group's user's email.'

This element is visible on page load

Check this box to make the element . This checkbox makes the element visible every time the page loads or . Change the visibility of the element based on certain in the Conditional section in the or with a show/hide element in a workflow. To find hidden quickly, click the 'Only show hideable' checkbox in the Elements tree in the Palette. Clicking on the name shows or hides the element for editing purposes only. Like other properties, this setting can be overwritten by a condition on an element or by a in a workflow. Actions take precedence over conditions which take precedence over the default setting.

Note on security: Be aware that tech-savvy users can access the underlying static content of any page, even if certain elements are hidden from their view. As such, never place sensitive information such as private URLs or tokens in hidden elements on the page.

You can read more about maintaining page security in our dedicated article below:

User manual article: Page security

Replace element

Click this button to replace an with an element of a different type. For example, change an element from a checkbox to a radio button or from a group to a popup.

Elements can only be replaced by elements within their own category. For example, a text input element (input forms category) cannot be replaced by a group (container category).

This operation may lead to inconsistencies, so check the Issues Checker to make sure no new issues are introduced. If you are experiencing issue, you can use Undo to revert the change.

Style

Select a from this dropdown menu to apply to the selected element. Styles are defined in the and can be applied to more than one element. When a style is modified, all elements with that style will automatically change. Using styles makes editing the app faster and ensures a consistent design.

Detach style

Clicking this button detaches the style from the selected element. The style association is detached, but the properties of the style remain on the element.

The style is not changed or deleted, only detached from the specific element.

Edit style

Clicking this button displays the Styles Tab and selects the current element's style.

Override style

To override a style, change one of its values. The style dropdown will show an (overriden).

Reset

To reset the elements style back to the selected style, click Reset next to Appearance settings. This button is only visible when the style is overriden.

Notes on resetting styles

A few notes on the behavior of Style overrides:

  • Resetting will change any overridden values on a tab by tab basis

  • If you override any values, and then update the attached Style, the overridden values will not change - even if those settings on the Style were updated

  • If you override any values, and then detach the Style, the overridden values will not change

  • If you override any values, and then detach the Style, and then reattach a Style, the overridden values will be removed in favor of the new Style’s inherited values.

  • If you override any values, and then change the overridden value back to the original value, the value will still be considered an override. To “re-attach” the value, use the reset button

  • If you override any values, and then create a new Style from the element, the overridden values will carry over to the new Style

  • Conditionals cannot be overridden yet. If you want to override an inherited conditional, simply add a new style that has the behavior you want since conditionals are evaluated from top to bottom

Select parent

This dropdown shows all the of the element you are currently editing.

Reveal in Elements Tree

Clicking this button shows where the element is in the .

Lock this element (not draggable in editor)

When this box is checked, the element will not be draggable in the Bubble editor. This is useful when working on large pages. This has no impact in .

ID Attribute (advanced)

Note: This is an advanced feature best suited for those with at least a basic understanding of CSS.

If you activate the option Expose the option to add an ID attribute to HTML elements in the Settings Tab, you can specific a unique ID for some element on the page. This ID will be applied in run mode to the outer div around the element. Warning: Bubble does not guarantee that the internal structure of the divs will remain the same over time. What is guaranteed here is the ID will be applied to the outer element. Keep this mind as you use IDs.

Margins

Margins create extra space around an element. Margins define the overall size of a visual element on the page and how it interacts with elements around it in both fixed and responsive layouts.

For example, in a fixed container layout, margins can be used to provide even spacing around elements in a form. In a row container layout, margins will be added to the min and max width of the element to inform when the element should wrap to the next row.

In addition, margins will align and snap based on the margin border, not the element border. If the margin is 0, the margin border and element border will be the same.

Margin controls are available on all elements in the Layout tab of the property editor. These controls are also available in conditional statements to replace the legacy responsive “collapse margins” functionality.

Tip: In a responsive container, margins will help you position a child element where you want it once you have selected the appropriate alignment option. For example, if you have a button in a column container and you want the button to be 30px from the bottom of the container, simply bottom-align the button and add 30px of margin to the bottom of the button element.

Top

Specify the amount of margin at the top of the element in pixels.

Right

Specify the amount of margin on the right side of the element in pixels.

Bottom

Specify the amount of margin to the bottom of the element in pixels.

Left

Specify the amount of margin on the left side of the element in pixels.

Padding

Padding creates extra space within an element. In general, padding defines the amount of "usable" space inside of an element. Since new padding controls are only available on Containers (for now), padding will define how close to the edge of a parent container a child element is allowed to get.

For example, in a Column container layout, a padding of 30px on the left and ride side of the container will add 30px of space inside the container on each side. If the Parent container's width is set to 420 px, the largest width any child element could have is 360px - (420px - (30px *2)).

If a parent container has padding applied, child elements will align or snap on the boundaries of the padding area, not the container border.

Similar to margins, padding controls are also available in conditional statements and can be saved in .

Top

Specify the amount of padding at the top of the container in pixels.

Right

Specify the amount of padding on the right side of the container in pixels.

Bottom

Specify the amount of padding to the bottom of the container in pixels.

Left

Specify the amount of padding on the left side of the container in pixels.

Style / Style (overridden)

If padding is applied to this element from a , click this link to navigate to the Styles tab to make edits to the Style as needed. If you have made changes to the padding that differ from the style, the link will say Style (overridden). You can reset to the style's setting using the Reset link on the right-hand side.

If you don't have a style applied, this setting will not be visible.

Last updated