---
title: Export to component
project: UI Builder
version: 1.0
section: guides
language: en
license: MIT
url: https://totaljs.es/docs/uibuilder/1-0/guides/export-to-component/
updated: 2026-11-19T08:01:43.273Z
---

# Export to component

> Turn a group of components on the canvas into a new reusable component.

**Export to component** turns a component on the canvas, with everything inside it, into a new component in the list. Use it for parts you build again and again, such as an address block or a contact form.

## Export

**1.** Right-click the component on the canvas (for example a **Form**) and choose **Export to component**.

**2.** Fill in the form:

- **Name**, for example `Contact form`;
- **Group**: the group in the component list (**Entities** by default);
- **Author** (optional);
- **Icon**.

![The Export to component form](/files/JapWsi2UN61f.webp)

**3.** Select **Create**.

The new component appears in the list under its group. When you drop it on the canvas, it brings all the components it was made from, with their settings.

## Take it to another design

In the same form:

- **Download** saves the component as an `.html` file. Drop that file on another design to add it.
- **Export** copies a `uibuilder://component` code. Paste it in **Import custom** in another design. See [Import a custom component](../import-custom-component/).
