Spanish Total.js
English
Documentation For AI agents
Contents

URL parameters

Parameters you can add to the address of UI Builder to open a design or use your own lists.

.md GitHub
On this page

Add these parameters to the address of UI Builder, for example http://localhost:8000/?url=.... Files on another server must allow requests from the address of UI Builder (CORS).

ParameterWhat it does
urlOpens the design file at this address instead of the start screen.
templatesUses your own list of templates on the start screen. The demo links are then hidden.
componentsUses your own component library in Import components.

Open a design

http://localhost:8000/?url=https://www.example.com/designs/demo.json

Your own templates

The file is a JSON array. Each item has an id, a name, an image shown on the start screen and the address of a template design file:

[
    { "id": "app", "name": "Demo project", "image": "/img/app.png", "template": "/templates/app.json" }
]

Add "disabled": true to show an item greyed out. A template file is a design file like _editor.json.

Your own component library

See Use your own component library.

Combine parameters

Join parameters with &:

http://localhost:8000/?templates=/demo/templates.json&components=/demo/components.json
Made in Europe