> For the complete documentation index, see [llms.txt](https://docs.rayon.design/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rayon.design/core-concepts/standards/publishing-a-library.md). Agents can also search and read this documentation through its [MCP server](https://docs.rayon.design/~gitbook/mcp).

# Publishing a library

Publish your blocks and styles as libraries, to reuse them in any model

**Blocks and styles can both be curated and published as libraries**, to help you keep standards consistent across drawings. This page covers the steps to create them.

Publishing needs a paid plan. On Free, you can keep using libraries you published earlier, but you can't add new blocks or styles to them. See [Pricing & billing](https://docs.rayon.design/core-concepts/productivity-and-admin/pricing-and-billing.md).

### Publishing a block library

A block library is **a model containing a collection of blocks** that you can **curate and share with other users**.

* Start from a model that holds **the blocks you want to share.**
* In the **`Blocks`** panel, press **`Publish`** in the header of the panel.

<figure><img src="https://2112124689-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FngVHKyaUSSJPTFck3wkz%2Fuploads%2FqyWhDSYzOdeEs1eNgOs5%2Fv4-library-1-blocks-panel.png?alt=media" alt="The Blocks panel on the left of the editor, with the My blocks tab selected. A label marks the Publish button in the header of the panel as Publish library."><figcaption></figcaption></figure>

The **`Publish blocks`** window opens with every block ticked. The blocks are listed in groups, such as **`Created in this model`** and **`From libraries`**. Untick the blocks you don't want to share, then press the button in the footer, which shows the count, for example **`Publish 127 blocks`**.

In a team, published blocks are available to everyone on the team, from any model. In your personal space, only you can use them. Hover the (i) icon in the footer to see which applies.

<figure><img src="https://2112124689-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FngVHKyaUSSJPTFck3wkz%2Fuploads%2F3XdAIUbZUwm4LsROGO6Q%2Fv4b-library-2-publish-blocks-v2.png?alt=media" alt="The Publish blocks window with every block ticked and the Publish blocks button in its footer. Labels mark the window, the information icon that says who can use the blocks, and the Publish button."><figcaption></figcaption></figure>

### Publishing a style library

A style library is **a model containing a collection of styles** that you can **curate and share with other users**.

* Start from a model that holds **the styles you want to share.**
* In the **`Styles`** panel, press **`Publish`** in the header of the panel.

<figure><img src="https://2112124689-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FngVHKyaUSSJPTFck3wkz%2Fuploads%2FfWeqF9qFcNxMw9TuXqOv%2Fv4-library-3-styles-panel.png?alt=media" alt="The Styles panel on the left of the editor, with the My styles tab selected. A label marks the Publish button in the header of the panel as Publish library."><figcaption></figcaption></figure>

The **`Publish styles`** window opens with every style ticked. The styles are listed in groups, such as **`Shapes`**. Untick the styles you don't want to share, then press the button in the footer, which shows the count, for example **`Publish 61 styles`**.

In a team, published styles are available to everyone on the team, from any model. In your personal space, only you can use them. Hover the (i) icon in the footer to see which applies.

<figure><img src="https://2112124689-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FngVHKyaUSSJPTFck3wkz%2Fuploads%2FXDJeV02ClEY1APrIx9gz%2Fv4b-library-4-publish-styles-v2.png?alt=media" alt="The Publish styles window with every style ticked and the Publish styles button in its footer. Labels mark the window, the information icon that says who can use the styles, and the Publish button."><figcaption></figcaption></figure>

***

### We are always available

Book a demo with our team, [right here](https://b1kzip68v9f.typeform.com/to/Hgr0eQ4k#source=docs).\
To get some support, reach out to us through our **in-app support chat**.\
More about [our support policy right here](https://docs.rayon.design/other-resources/others/support-policy.md).
