Canvas Documentation
Bubble Best Practices
v3.8
v3.8
  • Introduction
  • Key Features
  • What's New
  • Canvas Design System Figma File
  • CANVAS FUNCTIONALITY
    • Getting Started
    • Branding & Design
    • Marketing Pages
    • Bubble Pages & Blocks
    • Roles & Permissions
    • Menus & Navigation
    • Data & Workflows
    • Emails & Alerts
    • Privacy rule checker
    • Miscellaneous
      • Setting up two factor authentication
      • Cookie and consent banner
      • Setting your password policy
      • Set up Payment info on Account page
      • Loading screen
      • Configuring multiple languages
      • Customizing your app's portal page colors
    • Reference
      • Pages
        • Index
        • Admin Portal
        • Account
        • Login
        • Legal
        • Reset Password
        • 404
      • Reusable elements
        • Header
        • Footer
        • Signup & Login
        • Cookies Permission
        • Widgets
          • App security
          • Header Widgets
          • Workflow Widgets
        • Admin Portal
          • Admin analytics
          • Admin email & templates
          • Admin header & footer
          • Admin legal popups
          • Admin branding, launch, and settings
          • Admin marketing pages
          • Admin portal canvas logic
          • Admin options settings
        • Menu Focus Elements
      • Data types
      • Option Sets
      • Backend Workflows
      • Design standards
        • Manually Building UI
  • Bubble Best Practices
    • Learning Bubble Basics
    • Principles
    • Database
    • Design
    • Security
    • SEO
    • Speed
    • Modularity
      • Data triggers
  • Canvas library
    • Page templates
      • Free Bubble Marketing Page
      • Premium Bubble Marketing Page
      • Centered Profile Page
      • Left-Justified Profile Page
      • Standard page
      • Toggle Tabs Page
      • Menu Page
      • Mobile Menu Page
      • Video List Page
      • Standard Portal / Dashboard Page
      • Simple Portal / Dashboard Page with Icons
      • Double Sidebar Portal Page Template
      • Search Page
      • Map Search Page with Toggle and Filters
      • Floating Map Search Page
      • Search Bar Page
      • Multi-Step Page With Progress Bar
      • Standard Multi-Step Process Page
      • Multi-Step Process Page with Sidebar
      • Gallery Profile or Product Page
      • Sidebar Profile Page
      • 2-Column Menu Tabs Page
      • 2-Column Checkout Page
      • 2-Column Video Chat Page
      • Vertical Multi-Step Page Template
    • Blocks
      • Monthly Calendar Scheduling Widget
      • No Reply Comments Thread
      • Nested Comments Thread (with Like and Reply)
      • Placeholder Group
      • List with Circular Progress Bar Repeating Group
      • Top Input Chat Widget
      • Bottom Input Chat Widget
      • Toggle Tabs Group
      • Single-Select or Multi-Select Pill Tabs Group
      • Settings group
      • To-Do List Repeating Group
      • Title Group with Button and Filters
      • Product Details Group With Progress Bar
      • Listing details with Icons and Menu Focus Group
      • Week Daily Availability Group
      • Frequently Asked Questions (FAQ) Repeating Group
      • Dismissible Module
      • Video Group
      • About Group
      • Add to Cart Group
      • Full Width Map with Directions Link
      • Location Module (Map and Directions)
      • Drag and Drop Repeating Group
      • Infinite Columns Horizontal Scroll Data Table with Fixed First Column
      • Expiration timer
    • Popups
      • Confirmation Popup
      • Message Popup
      • Image Popup
      • Video Popup
      • Vertical Scroll Popup
      • Edit Popup
      • Standard Form Popup
      • Subscribe Popup
      • Feedback / Contact Popup
      • Details Popup
      • Add List Popup
      • Advanced Form Popup
      • Rating Popup
      • Toggle Tabs Popup
      • Share Popup
      • Multi-Step Popup
      • Invoice Popup
      • Stripe Credit Card Purchase Popup
      • View Profile Popup
      • Send Message Popup
      • Multi-Select Pill Tabs Popup
      • Pricing Plans Popup
Powered by GitBook
On this page
  • Dropdown menu
  • Clone the reusable template
  • Assign the type of content
  • Set up the dropdown buttons
  • Using the custom events
  • User Menu Overview
  • Email Templates Menu

Was this helpful?

  1. CANVAS FUNCTIONALITY
  2. Reference
  3. Reusable elements

Menu Focus Elements

PreviousAdmin options settingsNextData types

Last updated 3 years ago

Was this helpful?

Dropdown menu

Element name: menufocus_template Purpose: Provide the user with a concise list of actions they can take in a convenient dropdown menu.

The dropdown menu is used consistently throughout the Canvas template to provide the user with actions they can take such as Edit/delete a thing, View more details, Send a message, etc.

The dropdown is triggered by clicking on the icon, can be dismissed by clicking anywhere outside the dropdown, and is most often used in repeating groups to provide action items for each thing in the list.

Clone the reusable template

Open the menufocus_template and from the top bar of the Bubble editor click Edit > Clone this Page.

Assign the type of content

With your cloned menufocus_template open, double-click in the gray area of the editor to open up the settings for the reusable. Change the 'Type of content' to the datatype you will be using this menu to edit. You will need to change the type of content for the GroupFocus Dummy as well.

Set up the dropdown buttons

In the elements tree click the '+' to open the GroupFocus Dummy. This group contains all the dropdown buttons in the menu. Group Option 2 and Group Option 3 are already set up as the Edit and Delete actions.

There are three more Group Options (1, 4, & 5) that are unused and can be customized to add more buttons to your menu. Each of these groups has a corresponding event in the workflow tab that will be run when the group is clicked.

The menufocus_template reusable element also contains two popups that correlate to the Edit and Delete actions:

  • Popup Edit Clicking on Option 2 (Edit) in the dropdown will open a standard edit form popup to create or edit a thing.

  • Popup Remove Clicking on Option 3 (Delete) in the dropdown will open a popup to remove a thing.

Customize/duplicate these popups to your purposes.

Using the custom events

Each popups can be triggered by the corresponding custom events 'Create/edit thing' and 'Remove thing'.

Setting up custom events within a reusable gives you the option of using that workflow from the page it is on with the 'Trigger a custom event from a reusable element' action.

User Menu Overview

Element name: admin_users_menu

This focus group reusable element contains a menu of dropdown buttons for the user object. The menu popover is triggered by clicking on the icon and can be dismissed by clicking anywhere outside of the focus group. This reusable element is used in the Users tab in the Owner's Portal.

  1. Clicking on Option 1 (Password reset) will schedule an API workflow to send a password reset email to the user.

  2. Clicking on Option 3 (Deactivate) will open Popup Remove user. Deactivating the user will only mark the user as inactive and would not delete the user from the app.

Email Templates Menu

Element name: admin_email_menu

This focus group reusable element contains a menu of dropdown buttons for the Email template object. The menu popover is triggered by clicking on the icon and can be dismissed by clicking anywhere outside of the focus group. This reusable element is used in the Emails tab in the Admin Portal.

This reusable element contains two popups:‌

  1. Popup Edit Email Popup - Clicking on Option 2 (Edit) in the dropdown will open a standard add/edit form popup to create or edit an Email template. To learn more about email templates and how to use them, please click here.

  2. Popup Remove - This dummy popup is included and can be used to delete a thing.

For example, you can add the menufocus_template element to the on a page and trigger a custom event to create/edit or remove a thing.

hidden variables popup
Hidden variables popup
Dropdown menu for a Canvas marketing page