> ## Documentation Index
> Fetch the complete documentation index at: https://help.heydenada.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Creating libraries

> Create a library from scratch, build its blocks with chat, or import a .library file

A library is a collection of reusable blocks — hero sections, text areas, product grids, footers, and more — that define the building pieces for your projects. This page covers the ways to create one.

<Note>
  Creating and editing libraries requires the **Libraries** permission on your team. If you don't see **Libraries** in the sidebar, ask a team owner to grant it.
</Note>

## Create a new library

<Steps>
  <Step title="Open the Libraries section">
    Click **Libraries** in the sidebar.
  </Step>

  <Step title="Start a new library">
    Click the **New library** button and choose **Create new**.
  </Step>

  <Step title="Name it and pick a type">
    Enter a name and choose the **Type** — **Email** or **Site** (landing pages). The library starts unpublished, so it won't be available for projects until you're ready.
  </Step>
</Steps>

The new library opens in the [library editor](/libraries/library-editor), where you build out its blocks.

<img className="screenshot" src="https://mintcdn.com/denada/xjX7XM-d7P3k40as/images/generated/new-library-dialog.png?fit=max&auto=format&n=xjX7XM-d7P3k40as&q=85&s=33d8a55eaa5860c6e17f9465cdf96146" alt="The New library dialog with the Type dropdown set to Email and a field for the library name" width="2048" height="1536" data-path="images/generated/new-library-dialog.png" />

## Build blocks with chat

The fastest way to fill a new library is to describe what you need in the library editor's **Chat** tab. Denada builds blocks with appropriate parameters based on your description, and you can keep chatting to refine the design.

**Example prompt:**

> "Create blocks for our e-commerce brand. I need a hero block with a full-width image and headline, a two-column product feature block, a testimonial block, and a simple footer with social links. Use a clean, modern style."

<Tip>
  The more detail you provide about your brand (colors, fonts, tone), the closer the first draft will be to what you need.
</Tip>

You can also connect an external AI agent like Claude Code and have it build or edit the library from your own machine — see [Working with AI agents](/agents/overview).

## Start from existing HTML

If you already have HTML — from an existing email, another tool, or a designer — you can bring it into a library you've created:

* In the library editor's **Edit** tab, click **New** and choose **New empty block…**, then paste your HTML into the block's HTML editor.
* Or open the library menu and choose **Edit combined HTML** to work on all of the library's block HTML in a single document.

<Note>
  The quality of the result depends on the structure of the source HTML. Well-organized, semantic HTML is the best starting point, and you'll typically follow up by defining parameters so the content becomes editable.
</Note>

## Import a `.library` file

Libraries can be exported to a portable `.library` file (open any library's menu and choose **Export library**) and imported into another team.

1. Click **Libraries** in the sidebar.
2. Click the **New library** button and choose **Import library**.
3. Select the `.library` file. Denada recreates the library with all of its blocks and parameters.

## Work with the Denada team

For fully custom libraries — especially when you need pixel-perfect brand compliance or complex layouts — the Denada team can build a library tailored to your specifications.

* **Send your existing designs.** Provide your current emails or pages and the team will recreate them as a Denada library with full parameterization.
* **Start from a brief.** Share your brand guidelines, example designs, and requirements. The team designs and builds the library from scratch.

To get started, reach out to [support@heydenada.com](mailto:support@heydenada.com) or talk to your account manager.

## After creating a library

Once your library is ready, you can:

* Continue refining blocks and parameters in the [library editor](/libraries/library-editor).
* Turn on **Published** in the library editor's **Options** tab so your team can build with it.
* Use it in any new project — see [Using libraries in projects](/libraries/using-libraries).

## Choosing the right method

| Method                   | Best for                                              | Speed                                           |
| ------------------------ | ----------------------------------------------------- | ----------------------------------------------- |
| Build with chat          | Starting from scratch, exploring ideas                | Minutes                                         |
| Start from existing HTML | Migrating from another tool, reusing existing designs | Minutes to hours (depending on HTML complexity) |
| Import a `.library` file | Moving a library between teams                        | Seconds                                         |
| Denada team              | Pixel-perfect brand compliance, complex requirements  | Days (collaborative process)                    |
