﻿---
title: Reuse panels from the Visualize library
description: Create visualizations in the Visualize library and save panels to reuse them on several dashboards. Learn how to add a library panel and unlink it.
url: https://www.elastic.co/elastic/docs-builder/docs/4665/explore-analyze/visualize/visualize-library
products:
  - Elastic Cloud Serverless
  - Elastic Documentation
  - Kibana
applies_to:
  - Elastic Cloud Serverless: Generally available
  - Elastic Stack: Generally available
---

# Reuse panels from the Visualize library
A panel is a chart, map, or other block of content on a dashboard. The **Visualize library** is where you save panels so that several dashboards can reuse them. Use it to share one panel across dashboards, to build a visualization before you tie it to a dashboard, and to give one dashboard its own copy of a shared panel. To find the library, refer to [Open the library](#visualize-library-access).

## Before you begin


### Permissions

The privileges you need depend on the task:
- To open the library, you need the **Read** privilege for the **Visualize library** feature in Kibana. To create visualizations in the library, you need the **All** privilege.
- To add a library panel to a dashboard or unlink one, you need the **All** privilege for the **Dashboard** feature.
- To save a dashboard panel to the library, you need the **All** privilege for the **Dashboard** feature, plus the **All** privilege for the feature behind the panel type. Lens, Vega, and legacy visualizations belong to **Visualize library**, maps belong to **Maps**, and Discover sessions belong to **Discover**. Links panels and Markdown panels need no privilege beyond **Dashboard**.


### Library panels and dashboard panels

A panel is either a library panel or a dashboard panel. The difference is where Kibana stores it.
- **Library panels** are saved in the library. Every dashboard that uses a library panel shows the same panel, so an edit you save appears on all of them. Use a library panel when the same chart belongs on several dashboards, for example an error-rate chart that appears on both a team dashboard and an executive dashboard.
  You might also see this called a by-reference panel, because every dashboard points to the one copy in the library.
- **Dashboard panels** are saved only with the dashboard where you created them. An edit changes that dashboard and nothing else. Use a dashboard panel for a chart that only one dashboard needs. If you remove a dashboard panel, it is deleted.
  You might also see this called a by-value panel, because the dashboard holds the full definition of the panel.

You can change a panel from one kind to the other. [Save a dashboard panel to the library](#save-to-visualize-library) to share it, or [unlink a library panel](#unlink-library-panel) to give a dashboard its own copy.

### Panel types you can save to the library

Unless the remarks say otherwise, saved panels of the following types appear both in the **Visualizations** tab and in the list that opens when you add a panel from the library to a dashboard.

| Panel type                                                                                                                                                                                                                                                                                                                                                                                                                                                        | Remarks                                                                                                                                                                                                                                                  |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Lens](https://www.elastic.co/elastic/docs-builder/docs/4665/explore-analyze/visualize/lens) visualizations                                                                                                                                                                                                                                                                                                                                                       | Lens visualizations based on an ES|QL query are not supported. The **Save to library** action isn't available for them.                                                                                                                                  |
| [Maps](https://www.elastic.co/elastic/docs-builder/docs/4665/explore-analyze/visualize/maps)                                                                                                                                                                                                                                                                                                                                                                      |                                                                                                                                                                                                                                                          |
| [Links](https://www.elastic.co/elastic/docs-builder/docs/4665/explore-analyze/visualize/link-panels) panels                                                                                                                                                                                                                                                                                                                                                       | You can't create them directly from the library. Instead, create the panel on a dashboard, then save it to the library.                                                                                                                                  |
| [Markdown](/elastic/docs-builder/docs/4665/explore-analyze/visualize/text-panels#markdown-library-reuse) panels <applies-to>Elastic Cloud Serverless: Generally available</applies-to> <applies-to>Elastic Stack: Generally available since 9.4</applies-to>                                                                                                                                                                                                      | Appear only when you add a panel from the library to a dashboard, not in the **Visualizations** tab. You can't create them directly from the library. Instead, create the panel on a dashboard, then save it to the library.                             |
| [Discover sessions](/elastic/docs-builder/docs/4665/explore-analyze/discover/save-open-search#add-discover-session-from-library)                                                                                                                                                                                                                                                                                                                                  | Appear only when you add a panel from the library to a dashboard, not in the **Visualizations** tab. You can't create them directly from the library. Instead, save the session in **Discover**, or create it on a dashboard and save it to the library. |
| Vega visualizations                                                                                                                                                                                                                                                                                                                                                                                                                                               |                                                                                                                                                                                                                                                          |
| Legacy visualizations: [aggregation-based](https://www.elastic.co/elastic/docs-builder/docs/4665/explore-analyze/visualize/legacy-editors/aggregation-based), [TSVB](https://www.elastic.co/elastic/docs-builder/docs/4665/explore-analyze/visualize/legacy-editors/tsvb), and [Timelion](https://www.elastic.co/elastic/docs-builder/docs/4665/explore-analyze/visualize/legacy-editors/timelion) <applies-to>Elastic Cloud Serverless: Unavailable</applies-to> |                                                                                                                                                                                                                                                          |

The library doesn't support other panel types. These panels are saved only with the dashboard they belong to.

## Open the library and create visualizations

In the library, you can create visualizations and manage annotation groups, which are saved sets of chart annotations.

### Open the library


To browse your saved visualizations or build a new one, open the library. Where you open it depends on your deployment and version.
The navigation you see depends on the solution view of your space: **Classic**, **Search**, **Observability**, or **Security**. To check the solution view of a space, refer to [Manage spaces](https://www.elastic.co/elastic/docs-builder/docs/4665/deploy-manage/manage-spaces). In Elastic Cloud Serverless, every project uses a solution view.
- <applies-to>Elastic Cloud Serverless: Generally available</applies-to> On the **Dashboards** page, select the **Visualizations** tab.
- <applies-to>Elastic Stack: Generally available since 9.4</applies-to> Open the library from one of these places:
  - In a solution view, on the **Dashboards** page, select the **Visualizations** tab.
- In the Classic view, on the **Dashboards** page, select the **Visualizations** tab, or select **Visualize library** in the navigation menu.
- <applies-to>Elastic Stack: Generally available from 9.0 to 9.3</applies-to> Select **Visualize library** in the navigation menu, or search for it in the [global search field](https://www.elastic.co/elastic/docs-builder/docs/4665/explore-analyze/find-and-organize/find-apps-and-objects).

The library opens on the list of your saved visualizations.

### Create a visualization from the library

To build a visualization before you add it to any dashboard, create it from the library.
1. [Open the library](#visualize-library-access).
2. Select **Create visualization**.
3. Select the type of visualization to build. For the steps to build each type, refer to its page:
   - [Lens](https://www.elastic.co/elastic/docs-builder/docs/4665/explore-analyze/visualize/lens)
- [Maps](https://www.elastic.co/elastic/docs-builder/docs/4665/explore-analyze/visualize/maps)
- [Vega](https://www.elastic.co/elastic/docs-builder/docs/4665/explore-analyze/visualize/custom-visualizations-with-vega)
- <applies-to>Elastic Cloud Serverless: Unavailable</applies-to> [Aggregation-based](https://www.elastic.co/elastic/docs-builder/docs/4665/explore-analyze/visualize/legacy-editors/aggregation-based) and [TSVB](https://www.elastic.co/elastic/docs-builder/docs/4665/explore-analyze/visualize/legacy-editors/tsvb): Legacy visualizations that you find on the **Legacy** tab of the dialog.

After you save the visualization, it appears in the library and you can add it to any dashboard.
You can't create links panels, Markdown panels, or Discover sessions from the library.

### Reuse annotations across charts with annotation groups

Annotation groups mark events such as deployments on your charts. You can reuse the same group on more than one Lens visualization. Annotation groups aren't dashboard panels. To manage them, select the **Annotation groups** tab. To create a group and add it to a chart, refer to [Add annotations](/elastic/docs-builder/docs/4665/explore-analyze/visualize/lens#add-annotations). When you save a change to a group, every visualization that uses the group shows it.

## Use library panels on dashboards


### Add a panel from the library to a dashboard

To use a library panel on another dashboard, add it from the library. The new panel stays linked to the library copy.
1. Open the dashboard and select **Edit**.
2. Open the library picker:
   - <applies-to>Elastic Cloud Serverless: Generally available</applies-to> <applies-to>Elastic Stack: Generally available since 9.2</applies-to> Select **Add** → **From library**.
- <applies-to>Elastic Stack: Generally available from 9.0 to 9.1</applies-to> Select **Add from library**.
3. Select the panel to add.
4. Save the dashboard.

The panel appears on the dashboard and shows the library copy.

### Save a dashboard panel to the library

To reuse a dashboard panel on other dashboards, save it to the library.
1. Open the dashboard and select **Edit**.
2. Hover over the panel, then select the `boxes_vertical` panel menu.
3. Select **Save to library**.
4. Enter a title, then select **Save**.
5. Save the dashboard.

The panel on this dashboard is now a library panel. When you save a later edit, every dashboard that uses the panel shows that edit.

### Change a library panel on one dashboard only

To change a library panel on one dashboard only, unlink it from the library on that dashboard.
1. Open the dashboard and select **Edit**.
2. Hover over the panel, then select the `boxes_vertical` panel menu.
3. Select **Unlink from library**.
4. Save the dashboard.

The panel is now a dashboard panel. Edits you make from now on apply to this dashboard only. The library copy and the other dashboards stay as they are.

## Related pages

- [Create a dashboard from the Kibana UI](https://www.elastic.co/elastic/docs-builder/docs/4665/explore-analyze/dashboards/create-dashboard)
- <applies-to>Elastic Cloud Serverless: Generally available</applies-to> <applies-to>Elastic Stack: Generally available since 9.4</applies-to> [Save and reuse Markdown panels across dashboards](/elastic/docs-builder/docs/4665/explore-analyze/visualize/text-panels#markdown-library-reuse)
- [Add a Discover session from the library](/elastic/docs-builder/docs/4665/explore-analyze/discover/save-open-search#add-discover-session-from-library)
- [Add a links panel from the library](/elastic/docs-builder/docs/4665/explore-analyze/visualize/link-panels#add-links-panel-from-library)