Use your own component library
Show your team's own components in the Import components window.
Import components shows the official library. You can show your own list of components instead, for example the components of your team.
Make the list
Create a JSON file with one item per component. Each item needs id, name, group and url, the address of the component's editor.html file:
[
{
"id": "greeting",
"name": "Greeting",
"group": "Demo",
"url": "https://www.example.com/components/greeting/editor.html",
"author": "Jane Doe",
"icon": "ti ti-hand-wave",
"version": "1",
"readme": "Shows a short greeting."
}
]author, icon, version and readme are optional. readme is the text of Read me.
Put the list and the component files on a web server that allows requests from the address of UI Builder (CORS).
Open UI Builder with your list
Add ?components= and the address of the list to the address of UI Builder:
http://localhost:8000/?components=https://www.example.com/components/list.jsonStart or open a design and select Import components > Import components. The window shows your components, grouped by group. Import them as described in Import components.
Import a whole list at once
Import custom also accepts the address of a simpler file: a JSON array of editor.html addresses. The editor imports every component in it.
[
"https://www.example.com/components/greeting/editor.html"
]