---
title: Il tuo catalogo
project: Total.js UI Builder
version: 1.0
section: development
language: it
license: MIT
url: https://totaljs.es/docs/it/uibuilder/1-0/development/own-catalogue/
updated: 2026-11-19T11:56:16.260Z
---

# Il tuo catalogo

> Offri i tuoi componenti nella finestra Import components, e fai apparire alcuni solo in certi tipi di design.

**Import components** mostra il catalogo ufficiale. Puoi mostrare al suo posto il tuo, con i componenti del tuo team. Come aprire UI Builder con un elenco è spiegato in [Usare una tua libreria di componenti](/uibuilder/1-0/recipes/own-component-library/); questa pagina descrive i campi dell'elenco.

![La finestra Import components con i componenti di un catalogo nel gruppo Demo](/files/Jaq7NF2S061f.webp)

## L'elenco

```json
[
	{ "id": "greeting", "group": "Demo", "name": "Greeting", "author": "Jane Doe", "icon": "ti ti-comment", "version": "1", "url": "/components/greeting/editor.html", "readme": "Shows a short greeting." },
	{ "id": "stepper", "group": "Demo", "name": "Stepper", "author": "Jane Doe", "icon": "ti ti-sort", "version": "1", "url": "/components/stepper/editor.html", "readme": "A number with a minus and a plus button." },
	{ "id": "card", "group": "Demo", "name": "Card", "author": "Jane Doe", "icon": "ti ti-address-card", "version": "1", "url": "/components/card/editor.html", "type": ["app", "dashboard"], "readme": "A box with a title." }
]
```

| Campo | Significato |
|---|---|
| `id` | L'id del componente, lo stesso di `exports.id`. |
| `name`, `group`, `icon`, `author`, `version` | Ciò che mostra la finestra. I componenti sono raggruppati per `group` e ordinati per nome. |
| `url` | L'indirizzo di `editor.html`. Un indirizzo che inizia con `/` viene letto dal server di UI Builder. |
| `readme` | Il testo di **Read me**. |
| `type` | Facoltativo. I tipi di design che offrono il componente, per esempio `["flowboard"]`. Senza, ogni design lo offre. |

Il tipo di un design è il `type` del suo template: `app`, `dashboard`, `flowboard` o `part`.

Apri UI Builder con l'elenco:

```text
http://localhost:8000/?components=/components/db.json
```

## Costruire l'elenco dai file

Il repository ufficiale costruisce il suo elenco con uno script che legge le righe `exports.*` di ogni `editor.html`. Puoi tenere i tuoi componenti con la stessa struttura e fare lo stesso. Leggi [Condividere un componente](../share/).

## Un elenco per un template

Il `components` di un design può anche contenere l'indirizzo di un oggetto JSON che associa gli id agli indirizzi:

```json
{
	"greeting": "/components/greeting/editor.html",
	"stepper": "/components/stepper/editor.html"
}
```

Il template **Web app** carica così il suo set standard, da `https://cdn.componentator.com/uibuilder/app.json`. I componenti di un elenco di questo tipo vengono caricati di nuovo ogni volta che il design si apre; non vengono salvati nel file del design.
