Spanish Total.js
English
Documentation For AI agents
Contents

Official components

Where the official components come from, how they are versioned and how to read this catalogue.

.md GitHub
On this page

The official components are the building blocks that Total.js publishes for UI Builder: fields, texts, layouts, charts, lists and components that work with data. This section lists the components of the official catalogue by their groups in the Import components window; small groups share a page.

Where the components come from

Each component is a folder in the GitHub repository totaljs/uibuildercomponents, in the components folder. The folder holds up to three files:

FileWhat it holds
editor.htmlThe look of the component on the canvas, its details (name, group, icon, version) and its readme.
render.htmlThe code that runs in a published design.
settings.htmlThe settings form of the component.

The repository also holds db.json, the catalogue: one entry for each component with its id, name, group, author, icon, version, readme and the address of its editor.html. The files and the catalogue are published at:

https://cdn.componentator.com/uibuilder/db.json
https://cdn.componentator.com/uibuilder/<id>/editor.html

UI Builder reads the catalogue from that address. Your browser loads the catalogue and the components from the internet, so you need internet access to use them.

Add components to a design

  • The Web app and Dashboard templates start with the standard set of components. See Component groups.
  • Import components at the top of the component list opens the catalogue. Components that the design has already are shown in colour. See Import components.
  • Read me in that window shows the readme of a component, the same text as in this section.

Some components are offered only for some kinds of design. Floor plan and Marker, for example, appear only in a Flowboard design.

Versions

Every component has its own version number. It belongs to the component, not to UI Builder, and it goes up when the component changes. Each entry in this section shows the folder name and the version of the component.

How to read an entry

PartWhat it tells you
Name and folderThe name in the editor, the folder in the repository and its version.
Inputs and outputsWhat the component offers to the app that shows the design. See Inputs and outputs.
NotesWhere the component is offered, whether it loads an external library, and whether other components can follow it.
ReadmeThe description from the author.
ParametersThe main settings: the key in the configuration, its default value and the field in the settings form.

Every component also has the fields Name and Read value from. See Component settings.

Some components work with your own server, for example REST Reader, Data view, File uploader and WebSocket receiver. Their settings ask for its address.

Write your own

To build components of your own, or to offer a catalogue to your team, see Develop components.

Made in Europe