---
title: Use your own component library
project: UI Builder
version: 1.0
section: recipes
language: en
license: MIT
url: https://totaljs.es/docs/uibuilder/1-0/recipes/own-component-library/
updated: 2026-11-19T08:01:47.531Z
---

# 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:

```json
[
	{
		"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:

```text
http://localhost:8000/?components=https://www.example.com/components/list.json
```

Start 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](../../guides/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.

```json
[
	"https://www.example.com/components/greeting/editor.html"
]
```

See [Import a custom component](../../guides/import-custom-component/).
