General Properties
The properties here apply to all elements in Bubble.
Changing the parent element's type
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 visible by default. This checkbox makes the element visible every time the page loads or . Change the visibility of the element based on certain conditions in the Conditional section in the Property Editor or with a show/hide element action in a workflow. To find hidden elements 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 show/hide action 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 element with an element of a different type. For example, change an element from a checkbox to a toggle or from a group to a popup.
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 style from this dropdown menu to apply to the selected element. Styles are defined in the Styles Tab 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
Choose an element from this dropdown menu to contain the selected element. This is convenient when an element is contained by a group with the same dimensions.
Reveal in Elements Tree
Clicking this button shows where the element is in the Elements tree in the Palette.
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 run mode.
ID Attribute (advanced)
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. This is an advanced feature. 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.
Note: New padding controls are only available on container elements for the time being. All visual elements will be getting new padding controls soon as well.
Note: Padding values can now be set in Styles in the Layout tab. Padding values can be manually edited on a per element basis without changing the Style defaults.
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 Style, 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.
Other ways to learn
Last updated