---
title: Add your own component
project: UI Studio
version: 1.0
section: recipes
language: es
translation: missing
license: Total.js Enterprise
url: https://totaljs.es/docs/es/uistudio/1-0/recipes/own-component/
updated: 2026-11-20T19:05:06.322Z
---

# Add your own component

> Add a component of your own to the library that the Default template uses, and use it in a design.

Designs made from the **Default template** use the database `components`. A component that you add there appears in the editor of those designs.

## 1. Write the component

Write the file `editor.html` of the component on your computer, as described in [Your first component](/uibuilder/1-0/development/first-component/). For example, a component `greeting` in the group **Content**.

## 2. Add it to the library

1. Open **UI components** and select the database `components`.
2. Select **Create** > **Create component**, enter `greeting` and press Enter.
3. Select the new folder `greeting`, then **Create** > **Upload file**, and choose your `editor.html`.
4. Wait a few seconds. UI Studio builds the list of components of the database again.

## 3. Use it

Open a design made from the **Default template** in **UI Builder**. **Greeting** appears in the **Content** group of the component list. Drag it onto the canvas like any other component.

To keep your components apart from the standard ones, you can create a database of your own on the **UI components** screen. See [Component libraries](../../guides/ui-components/).
