# Building Interfaces

Often you'll want to display content that is produced when your mod runs. There are a handful of ways to do that!

### **Bricks for rendering content**

* [Display Temporary Information](https://www.pixiebrix.com/marketplace/cb38e1ef-24ca-48e7-a70f-01e5f1f72524/) / [Show Sidebar](https://www.pixiebrix.com/marketplace/321ae8eb-655e-41fa-8f6a-1c37d49b18e7/)
* [Show a modal or sidebar form](https://www.pixiebrix.com/marketplace/78fe8f15-dd68-40d1-bc5f-e5b992820bf1/) (Learn more in [User Input](/developing-mods/developer-concepts/user-input.md))
* [Window Alert](https://www.pixiebrix.com/marketplace/b249e2e3-7fa1-4e7a-a0ba-70cfa1a18707/)
* [Show a notes modal](https://www.pixiebrix.com/marketplace/0561e102-2c92-4198-97bf-d6d3d7296b2e/)

You also might be interested in these, although they'll typically only be used in one of the bricks above.

* [Render Document](https://www.pixiebrix.com/marketplace/49b356c6-5461-46b7-8089-0f84d03c3744/)
* [HTML Renderer](https://www.pixiebrix.com/marketplace/51a74b41-72cc-4fdc-b5a1-f55f9f209ba4/)
* [Render Markdown](https://www.pixiebrix.com/marketplace/520b2dc6-11a9-4a9c-9753-58e3f2ed4513/)

If you're interested in learning more about how each of these works, click the names above to read the docs and dive into more detail about how they're used and what you can customize.&#x20;

### Using the Display Temporary Information brick

When building mods, you'll usually find yourself using the **Display Temporary Information** brick. This is the GOAT (Greatest of All Time) rendering brick and is the one most commonly used because it runs an action and opens a Sidebar to display the results of that action (without leaving it permanently in your Sidebar).

You can customize what's displayed in the sidebar content, including setting user input with forms, displaying text, and adding buttons that trigger events.&#x20;

Something like this!<br>

<figure><img src="https://files.cdn.thinkific.com/file_uploads/720267/images/ad0/e53/d27/1691094279857.jpg" alt="" width="375"><figcaption></figcaption></figure>

When configuring the Display Temporary Information brick, you'll choose the title at the top, choose the format to display it in and determine when it refreshes. For instance, you might choose the `statechange` refreshTrigger if you want to update the content whenever a form is filled out or if something else changes on the page, updating the state.  To learn more about working with state changes, read the [Page State docs](/developing-mods/developer-concepts/variables-and-data-context/advanced-using-page-state.md).

Keep reading to learn more about interacting with and customizing Display Temporary Information or Render Document bricks.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pixiebrix.com/developing-mods/developer-concepts/building-interfaces.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
