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
  • Overview
  • Structure
  • How to set up
  • Why is my sidebar not showing?

Was this helpful?

  1. Canvas library
  2. Page templates

Search Page

Use this when users are likely to filter results or there are 6+ filters.

PreviousDouble Sidebar Portal Page TemplateNextMap Search Page with Toggle and Filters

Last updated 3 years ago

Was this helpful?

Overview

Desktop

Mobile

Responsive layout for a generic search page. Includes common filter options in the side menu. The sidebar menu is hidden by default on mobile but users can click on the filter icon in the upper left to open the sidebar.

Structure

  • When this page is added to your app, it will come with two main groups:

    • Blocks container 860 (do not rename)

      This group contains the responsive settings for all blocks on the page. Any new blocks should be added to this group.

    • Floatinggroup Side bar_website - This group contains all the different filter options for the search page.

  • This page comes with one popup:

    • Popup Hidden Variables contains four groups:

      • var - Website object This group stores the website object (e.g., app name, primary color, and etc.)

      • var - dummy data A placeholder group in case you want to use any hidden variable groups later.

      • var - RepeatingGroup Categories This repeating group will store the user's checked categories in RepeatingGroup Dummy

      • var - page less than 1111 This checks the page's current width. The side bar will hide when the current page width is less than 1111px.

  • This page will come with one reusable element:

  • The page comes with two navigation elements that toggle the filter sidebar's visibility on mobile:

    • FloatingGroup Open sidebar button

    • FloatingGroup Close sidebar button

  • Entering values into the inputs in the sidebar will run a custom workflow called Perform search

    • This workflow is optional and it is not required to filter the repeating group.

How to set up

  • Update the data source or add/remove any input elements in the sidebar to fit your use case

    • [Optional] Update the Perform search custom workflow accordingly.

    • [Optional] If you add a new input, update the Perform search custom workflow to include the new parameter.

If you add or remove filters, please resize Group sidebar PLACEHOLDER sidebar so that it is not overlapping with any other elements (for responsiveness).

  • Update RepeatingGroup Dummy's data source and var - RepeatingGroup Categories' type of content and data source

  • Resize Blocks container 860 (do not rename) and add other blocks inside of it

    • Link the filters to a block you've added by setting search constraints on the block's repeating group's data source

    • It is also important to make sure that “ignore empty constraints” is checked underneath the constraints, so that all results will display when no filters are selected.

If you add more blocks, please resize Group PLACEHOLDER content so that it is not overlapping with any other elements (for responsiveness).

Why is my sidebar not showing?

  • Floatinggroup Side bar_website is set to float to both so that the sidebar is anchored to both the top and bottom of the page and allows for scrolling within the floating group. When a floating group is set to both, the floating group height needs to be the same height as the page height (i.e., the bottom of the floating group is aligned with the bottom of the page). If not, then the floating group will "disappear" when you preview the page.

The main purpose of the “perform search” workflow is to adjust the parameters in the URL so that it contains the filters that the user has selected or entered. With that setup, a list of filtered results can be shared through these links that contain the filters in the URL (similar to sharing a ).

header
specific list of results on Airbnb
Hidden sidebar
Visible sidebar
Add another parameter and pass it the new input's value. The parameter name (key) can be anything you choose.