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

# Reusable components

> Turn blocks into components you can reuse across pages.

Briefer allows you to turn Python and SQL blocks into reusable components that you can use across different pages.

To create a reusable component, hover over a Python or SQL block and click on the "floppy disk" icon that appears on the right side of the block. This will save the block as a component.

<Frame caption={`Click the "floppy disk" icon to save a block as a component.`}>
  <img src="https://mintcdn.com/briefer/b4K8SyWze93KZnrl/images/save-component.png?fit=max&auto=format&n=b4K8SyWze93KZnrl&q=85&s=d22bdd700f1b7597dfc22ba30bc34f51" alt="Saving a block as a component" width="2920" height="798" data-path="images/save-component.png" />
</Frame>

After saving a block as a component, you can see it in the "Reusable Components" panel. To open the "Reusable Components" panel, click on the "Reusable Components" button within the three dots menu on the top right corner of the editor.

<Frame caption="Open the reusable components through the three dots menu on the top right corner of the editor.">
  <img src="https://mintcdn.com/briefer/b4K8SyWze93KZnrl/images/open-reusable-components.png?fit=max&auto=format&n=b4K8SyWze93KZnrl&q=85&s=8cc71e7027d65ba5bc9582021815a9ab" alt="Opening the reusable components panel" width="1324" height="1960" data-path="images/open-reusable-components.png" />
</Frame>

To use a component in a page, click the "Add to notebook" link at the bottom of the component's row in the "Reusable Components" panel. This will add the component to the page you're currently editing.

<Frame caption={`Click the "Add to notebook" link to add a component to the current page.`}>
  <img src="https://mintcdn.com/briefer/b4K8SyWze93KZnrl/images/add-to-notebook.png?fit=max&auto=format&n=b4K8SyWze93KZnrl&q=85&s=1fd6106a68ea2b03e537fadab71e7b92" alt="Adding a component to the current page" width="1708" height="1852" data-path="images/add-to-notebook.png" />
</Frame>

## Updating existing instances of a component

When you modify the source block of a component, you can update all the instances of that component across your pages.

To do this, click on the "Floppy disk" icon again on the source block of the component.

Then, in the modal that appears, confirm that you want to update all the instances of the component.
