Skip to content

Search Modal

The Search Modal element provides a search interface for finding and navigating to content. It supports two display modes (inline bar or full-screen modal) and two result actions (navigate to page or filter other elements).


Overview

Search Modal renders as either an inline search bar or a trigger button that opens a modal overlay:

Inline mode: [ 🔍 Search... ] with dropdown results below

Modal mode: [ 🔍 Search... ] button that opens a full-screen overlay with search input and results

Common uses:

  • Search bar on a browse page to find content across all items
  • Live-filter connected elements (e.g., type in search bar to filter a Card Grid)
  • Quick navigation — select a search result to jump to a specific page

Adding a Search Modal

  1. Open the Website Builder
  2. Find Search Modal in the Elements panel (under Navigation)
  3. Drag it onto your page
  4. Configure search items and behavior in the General Tab

Properties

General Tab

Display Mode

OptionDescription
Inline Search BarAlways-visible search bar with dropdown results
Full-Screen ModalButton that opens a modal overlay with search input

Result Action

OptionDescription
Navigate to PageClicking a result navigates to the result's target page
Filter Other ElementTyping filters a connected element (e.g., Card Grid) in real time

When using Filter mode:

  • Enter the Filter Target Element ID — the ID of the element to filter (e.g., a Card Grid)
  • The target element must have a searchFilterId configured pointing back to this Search Modal's ID

Data Source

OptionDescription
StaticDefine search items manually
From ElementPull data from another element (e.g., JSON Data Source)

Static Search Items

Add items directly:

  • Click Add Item to add a new search item
  • Enter Title, Subtitle, Image URL, and select a Target Page
  • Click the X button to remove an item

Element Data Source

When using "From Element":

PropertyDescription
Source Element IDThe ID of the source element
Title FieldField name for item title (e.g., name)
Subtitle FieldField name for item subtitle (e.g., description)
Page ID FieldField name for target page (e.g., pageId)
Image FieldField name for item image (e.g., image)

Search Settings

PropertyDescriptionDefault
Placeholder TextText shown in the empty search input"Search..."
Show ImagesDisplay item images in search resultsOn
Search FieldsWhich fields to search (title, subtitle)Both

Color Tab

PropertyDescriptionDefault
Background ColorContainer backgroundTransparent
Border ColorContainer borderTransparent

Dimensions Tab

PropertyDescription
WidthElement width
HeightElement height (auto by default)
PaddingInner spacing
MarginOuter spacing
Border RadiusCorner rounding

Filter Mode

Search Modal can filter other elements in real time. To set this up:

  1. Add a Search Modal to your page (set Result Action to "Filter")
  2. Add a Card Grid (or other filterable element) to the same page
  3. Copy the Search Modal's element ID and paste it into the Card Grid's Search Filter Element ID field
  4. Copy the Card Grid's element ID is not needed — the Search Modal uses the Filter Target Element ID field

When the user types in the search bar, the connected Card Grid filters its items live.


Use Cases

On a browse page with many items, let users search by title or description to quickly find what they need.

Live Filtering

Pair with a Card Grid to create a filterable gallery — typing in the search bar instantly filters visible cards.

Create a "jump to" interface where users can search for and navigate directly to specific pages.

Use modal mode for a clean design — a search button that opens a full-screen search overlay when tapped.


Best Practices

  1. Use meaningful search fields - Include both title and subtitle in search fields for better results

  2. Write clear placeholder text - Tell users what they can search for (e.g., "Search techniques...")

  3. Use inline mode for primary search - When search is the main feature of a page

  4. Use modal mode for secondary search - When search is supplementary and should not take space

  5. Pair with JSON Data Source - For dynamic data, connect to a JSON Data Source element for live content


Questions?

If you have any questions, please don't hesitate to contact us. Alternatively, you can submit an issue on this platform.

Useful Links:

Web Elements - https://help.acenji.com/#/./create-web-application/elements/index

Was this article helpful?

No-Code App Builder