Choosing a Page Type
Last updated
Last updated
A page type determines the content displayed when a tab is clicked in your mobile app's bottom navigation bar. These are the available page types.
This type of page displays horizontal sections, each serving a unique purpose and enhancing the user experience.
These are the available sections: Custom UI Section, Icon Section Widget, Image Card List, Horizontal List of Cards, Currency Converter Widget, and Configurable Search Widget.
You can link a preconfigured widget to a specific tab to display it when clicked.
Custom Mobile Pages are unique to the mobile app and not available in the Lucy web app. Although the mobile app is set up through the Lucy web platform, these pages are specifically designed for mobile, e.g., Settings page.
In summary, a tab can be configured to display a list of sections, a widget or a custom mobile page built using Flutter.
Select a page type when adding a new tab to your mobile app's bottom navigation bar.
The 'Section' page type lets you effortlessly add horizontal sections to your mobile app's pages. These sections are pre-designed UI elements that you can simply drag and drop.
By using these pre-designed sections, you can quickly add various functionalities and visual elements to your app without extensive coding knowledge. This means you can create a more visually appealing and interactive app with less effort.
Below are the available sections. You can add the same section multiple times if needed.
To add horizontal sections, set the Type to 'Section' when adding a tab. Other types do not support horizontal sections.
Use the Custom UI Section to create a personalised user interface with JSON code.
To add and configure a Custom UI Section:
On the Lucy web app homepage, go to the Mobile App tab. Mobile app designer page displays.
Click the bottom navigation bar.
In the bottom navigation bar, click the required tab.
Go to the Sections tab on the left.
Drag and drop the 'Describe a custom interface with a special interface language' section on to the desired area on the mobile screen.
A horizontal section named Custom UI will appear on the mobile screen.
Click the Custom UI section to open its properties panel.
In the Custom UI (Mobile) field, enter the JSON code of the UI you want to build.
Configure the Data source.
Click the Bind a Source button.
You can select an existing Lucy action or a database as the data source.
Click Save to apply the changes in the mobile app.
You can include a set of icons using an Icon Section Widget. Configure each icon by setting its background colour, icon colour, name, and the action to be executed when clicked.
You can customise an icon section widget by adding a title, changing colours, and adjusting size. Additionally, you can modify the icon shape (e.g., square, circle), background colour, text colour, etc.
To customise the title section of the icon section widget, click the title section to launch its properties panel.
To customise the body section of the icon section widget, click the body section to launch its properties panel.
To add a Icon Section Widget:
On the Lucy web app homepage, go to the Mobile App tab. Mobile app designer page displays.
Click the bottom navigation bar.
In the bottom navigation bar, click the required tab.
Go to the Sections tab on the left.
Pick the Icon Section Widget. Drag and drop it onto the mobile screen.
An icon section widget will be added and displayed on the mobile screen.
Add a new icon
Click the Add icon.
An icon will be added and displayed on the mobile screen.
Click the newly added icon to launch its properties panel.
Click the Icon field to pick a suitable icon from the Search Icons window.
Select a Background Colour.
Choose an Icon Colour.
In the Label box, type a unique name for the icon.
Edit Action: Click this button to open the Action Editor window. This window has five tabs: Open URL, Open Widget, Execute Action, Open Add-on, and Open Mobile Screen. Use these tabs to set what happens when a specific icon is clicked.
Open URL: You can configure a URL to be opened when the icon is clicked.
Open Widget: Used to select a specific widget to be opened when the icon is clicked.
Execute Action: Used to run a specific Lucy action when the icon is clicked. You can select a model, choose an appropriate action, and provide parameters. Additionally, configure the post-action behavior.
Open Add-on: Used to configure a specific add-on to be opened when the icon is clicked.
Open Mobile Screen: Used to select a predefined mobile screen to be opened when the the icon is clicked.
After configuring the action, Click Done.
Click Save to apply the changes in the mobile app.
An image card list is a vertical stack of cards, each containing an image, text and potentially clickable elements like clickable images, links. Users can scroll through the list to view all cards. This layout is widely used in mobile apps to display items in a structured and visually appealing manner.
Common Use Cases: Product Galleries, Photo Albums, Article Feeds
To add a Image Card List:
On the Lucy web app homepage, go to the Mobile App tab. Mobile app designer page displays.
Click the bottom navigation bar.
In the bottom navigation bar, click the required tab.
Go to the Sections tab on the left.
Pick the Image Card List. Drag and drop it onto the mobile screen.
An image card list will be added and displayed on the mobile screen.
Customise the title of the image card list.
Click the Title section of the card list to launch its properties panel.
In the Text field, type in a suitable title.
Choose a title colour.
Adjust the title size as necessary.
Customise the image card list section.
Click on the image card to launch its properties panel.
Do required customisations.
Add a new card to the Image Card List.
In the image card list, click the add icon.
A new card will be added to the image card list.
Customise the new card as needed.
Click Save to apply changes in the mobile app.
A horizontal list of cards is a layout where cards are arranged side by side, horizontally, instead of vertically. This arrangement allows users to swipe horizontally to view additional cards. Only a limited number of cards are visible at once, encouraging users to actively explore the content.
In addition, you can bind a data source to a card list, dynamically populating the cards with relevant information. Also you can customise the appearance and content of each card, including images, text labels, and buttons.
Common use cases: Carousel sliders, Featured content, Image galleries
Steps to Add a Horizontal List of Cards to a Page
On the Lucy web app homepage, go to the Mobile App tab. Mobile app designer page displays.
Click the bottom navigation bar of the mobile screen displayed.
In the bottom navigation bar, click the required tab to open required page on the mobile screen.
Go to the Sections tab on the left.
Pick the Horizontal List of Cards. Drag and drop it onto the mobile screen.
Edit the Title section as necessary.
Click on the Title section and its properties panel will open on the right.
Under the Container section, pick a background color for the section.
Under the Title section, add a suitable title, customise the colour and the size.
Under the Subtitle section, add a subtitle and customise its properties.
Customise the image card list.
Click on the card list to open its properties panel.
Under the Card List section, choose the card type.
Bind a data source to the card list. You can bind an existing lucy action or a database.
Based on the data source selected, data will be populated in each card.
Add Top Labels and buttons and Bottom Labels and buttons to appear in each card.
Add a button.
Click the plus icon at the top or bottom of the card.
To select a button, pick the Button option from the list and click Save.
Go to properties panel and enter a proper button title.
Edit Action button: Used to open the action editor window. This window has five tabs: Open URL, Open Widget, Execute Action, Open Add-on, and Open Mobile Screen. Use these tabs to set what happens when a specific section is clicked.
Customise the button properties e.g., Background Colour, Font Size as necessary.
Add more buttons if necessary.
Add a Text Label.
Click the plus icon at the top or bottom of the card.
To select a text label, pick the Text Label option from the list and click Save.
Click on the newly added label to open its properties section.
Choose the required design of the label: Default style or Pill Style.
Under Text/Label section, in the Text field, type in the text to appear in the label.
Customise the label properties as necessary.
Add more text labels if necessary.
Click Save to reflect the changes in the mobile app.
A Currency Converter Widget is a interactive element that allows you to easily convert amounts from one currency to another providing real-time exchange rates and calculations.
To add a Currency Converter Widget to a mobile page:
On the Lucy web app homepage, go to the Mobile App tab. Mobile app designer page displays.
Click the bottom navigation bar.
In the bottom navigation bar, click the required tab.
Go to the Sections tab on the left.
Pick the Currency Converter Widget. Drag and drop it onto the mobile screen and it will appear on the mobile screen.
Click Save to apply the changes in the mobile app.
Open your mobile app and go to the required tab. The Currency Converter section will be displayed.
In the Currency Converter section, select the original currency (e.g., USD) and enter the amount you want to convert.
Choose the currency you want to convert the original amount into (e.g., SGD). The entered amount will be automatically displayed in the selected currency.
You can link a preconfigured widget to a specific tab to display it when clicked.
To link a widget to a specific tab:
On the Lucy web app homepage, go to the Mobile App tab. Mobile app designer page displays.
Click the bottom navigation bar.
In the bottom navigation bar, click the required tab.
Click the Select a Widget button.
Pick the required widget from the list (widget names will appear in the list).
Click Save to apply the changes. The selected widget will now display in your app under the required tab.
When adding a tab, the type should be selected as 'Widget' to link a preconfigured widget to that tab.
Learn to build and link a widget to a tab. Find the article here to gain more insights:
Custom Mobile Pages, such as the Settings page, are unique to the mobile app and not available in the Lucy web app.
You can organise the settings page by configuring Setting Groups and configuring related Sections within each group.
When adding a tab, the Type should be selected as 'Custom Mobile Page'.
Here is an example for designing a page using the 'Custom Mobile Page' type.