Spanish Total.js
Deutsch
Dokumentation Für KI-Agenten
Inhalt

Component libraries

Browse, create, download and restore the libraries of components that your designs use.

.md Website

Diese Seite ist noch nicht übersetzt. Du liest das Original.

Auf dieser Seite

The UI components screen manages the component libraries that the editor uses. UI Studio calls each library a database. A database holds one folder for each component. UI Studio comes with the database components, which the Default template uses.

Each component is written as described in The component folder of the UI Builder documentation.

Browse

The screen opens on Databases. Select a database to see its components, and a component to see its files. The path at the top shows where you are. Select .. or a name in the path to go back.

The files of the component greeting in the database demo

Create a database

  1. On Databases, select Create and then Create database.
  2. Enter a name in lower case, using only the letters a to z.
  3. Press Enter.

Create a component

  1. Open a database, select Create and then Create component.
  2. Enter a name in lower case, using only the letters a to z.
  3. Press Enter. An empty folder appears.

Add its files as described in Component files.

Rename, clone or remove

Right-click a database, a component or a file, or select its menu, to see Rename and Remove. Components and databases also have Clone, which copies them under a new name.

Download and restore a database

  • To download a database as a .zip file, open it, select Options and then Download database.
  • To restore databases from a .zip file, go to Databases, select Options and then Upload .zip database. The file is unpacked into the folder of the databases.

Inside a database, Options offers:

  • Copy link for editor: the address of the list of components, /ui/<database>.json.
  • Copy link for render: the address of the script that published designs use, /ui/<database>.js.

See Addresses.

Hergestellt in Europa