---
title: Example MetaBlocks
description: "This chapter provides a simple example MetaBlock. ## Adding a Dashboard and Its SmartLabels to a MetaBlock In this example, we add a dashboard and the SmartLabel used in the dashboard to a MetaBlock. We know that we want to…"
url: "https://lucidum.io/docs/example-metablocks/"
updated: "2025-12-02"
category: MetaBlocks
---

# Example MetaBlocks

This chapter provides a simple example MetaBlock.

## Adding a Dashboard and Its SmartLabels to a MetaBlock

In this example, we add a dashboard and the SmartLabel used in the dashboard to a MetaBlock.

We know that we want to export a custom dashboard for a colleague to use on their Lucidum system. We package both the dashboard and the custom SmartLabel used in the dashboard into a single MetaBlock, for easy exporting and importing.

## Step 1: Create the MetaBlock

We follow the steps in [Creating Metablocks](https://lucidum.io/docs/creating-and-managing-metablocks/#creating-metablocks) to create a new MetaBlock named ***Laptops and Desktops***.

![https://lucidum.cloud/docs/metablocks_example_metablock_25.0.png](https://lucidum.cloud/docs/metablocks_example_metablock_25.0.png)

Notice that the ***Dependencies***column displays an aligned dashboard and an aligned SmartLabel.

## Step 2: Assign the Dashboard to the MetaBlock

In this example, we use a custom dashboard named ***Laptops & Desktops***. The dashboard displays information about the laptops and desktops in an environment.

The dashboard looks like this:

![https://lucidum.cloud/docs/metablocks_laptops_and_desktops_dashboard_25.0.png](https://lucidum.cloud/docs/metablocks_laptops_and_desktops_dashboard_25.0.png)

When we look at the queries for each chart, we see that each chart includes the SmartLabel ***Best Asset Type***. So we know we must include this SmartLabel in the same MetaBlock as the dashboard.

![https://lucidum.cloud/docs/metablocks_laptops_and_desktops_dashboard_query_25.0.png](https://lucidum.cloud/docs/metablocks_laptops_and_desktops_dashboard_query_25.0.png)

***To assign the Dashboard to the MetaBlock*** named ***Laptops and Desktops***, we follow the steps in [Adding Dashboards to MetaBlocks](https://lucidum.io/docs/using-metablocks-with-dashboards/#adding_dashboards_to_metablocks).

![https://lucidum.cloud/docs/metablocks_laptops_and_desktops_dashboard_assign_25.0.png](https://lucidum.cloud/docs/metablocks_laptops_and_desktops_dashboard_assign_25.0.png)

## Step 3: Assign the SmartLabel to the MetaBlock

We follow the steps in [Adding SmartLabels to MetaBlocks](https://lucidum.io/docs/using-metablocks-with-smartlabels/#adding_smartlabels_to_metablocks) to assign the SmartLabel to the MetaBlock.

![https://lucidum.cloud/docs/metablocks_best_asset_type_smartlabel_assign_25.0.png](https://lucidum.cloud/docs/metablocks_best_asset_type_smartlabel_assign_25.0.png)
