UI Kits
Last updated
Last updated
From version 5.0.21.01, Page Designer provides a new feature called the UI Kit to create reusable components that can be shared across multiple pages. The reusable component has to be first marked as a UI Kit. To create a UI element as a UI Kit please use the UI Kit menu on the left menu panel. Steps to create UI Kit on page
Select the UI component you want to create as a reusable UI Kit.
Click on the UI Kit icon on the left sidebar menu.
Click on the ‘+’ icon on the UI KITS popup.
In the popup enter the name of the Kit you want to create.
And click the 'Create' button.
Once it is successfully created, a green pop-up will appear. The generated component will appear under the 'User Customize' tab in UI KITS pop-up window.
Users can use it by dragging from the UI KITS pop-up window and dropping it at the desired location inside the PageContent.
Users can also remove the UI Kits from the app by removing them from the UI Kits popup window.
Export and Import UI Kits from other apps Once a user creates a UI Kit, he can use it on the current page or he can export and import it to any other application in the ONEWEB ecosystem. To export or import UI Kits, a new tab has been added under the Resources tab on the Page Designer Home page.
To Export the UI Kit from an app, click on the Export UI Kit button.
Select the UI Kit components to be included in the export package. Enter the package name and namespace as well. Click Export. Choose the folder where you would like to save the UI Kit.
Once it is successfully exported, a green pop-up will appear.
To add UI Kits, click on the Add UI Kits button. And choose the package from your system folder.
Once added it will show the package in your list of UI Kits.
To use Imported UI Kits inside Page Designer,
Go to the page where you want to add the UI Kit.
Click on the UI Kit menu on the left sidebar
Click on the tab for External UI Kits inside the popup for UI Kits
It will list the available UI Kits imported to your application.
You can drag it from the UI Kits popup to the desired location inside your Page Content