---
title: "LibraryPanelKind | Grafana documentation"
description: "A reference for the JSON library panel schema used with Observability as Code."
---

> For a curated documentation index, see [llms.txt](/llms.txt). For the complete documentation index, see [llms-full.txt](/llms-full.txt).

# `LibraryPanelKind`

A library panel is a reusable panel that you can use in any dashboard. When you make a change to a library panel, that change propagates to all instances of where the panel is used. Library panels streamline reuse of panels across multiple dashboards.

Following is the default library panel element JSON:

JSON ![Copy code to clipboard](/media/images/icons/icon-copy-small-2.svg) Copy

```json
      "kind": "LibraryPanel",
      "spec": {
        "id": 0,
        "libraryPanel": {
          name: "",
          uid: "",
        }
        "title": ""
      }
```

The `LibraryPanelKind` consists of:

- kind: “LibraryPanel”
- spec: [LibraryPanelKindSpec](#librarypanelkindspec)
  
  - libraryPanel: [LibraryPanelRef](#librarypanelref)

## `LibraryPanelKindSpec`

The following table explains the usage of the library panel element JSON fields:

Expand table

| Name         | Usage                                            |
|--------------|--------------------------------------------------|
| id           | Panel ID for the library panel in the dashboard. |
| libraryPanel | [`LibraryPanelRef`](#librarypanelref)            |
| title        | Title for the library panel in the dashboard.    |

### `LibraryPanelRef`

The following table explains the usage of the library panel reference JSON fields:

Expand table

| Name | Usage              |
|------|--------------------|
| name | Library panel name |
| uid  | Library panel uid  |
