> For the complete documentation index, see [llms.txt](https://docs.wem.io/platform/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wem.io/platform/wemmodeler/files-and-assets/widget-libraries.md).

# Widget Libraries

{% hint style="info" %}
To be able to create and manage widgets and widget libraries, you need Workspace-level rights (workspace power user, workspace admin or owner).
{% endhint %}

User Interaction screens are mostly made up of different widgets. These widgets can be made by WEM itself, by partners, by users or you could also create your own widgets. When a new widget is created, it is added to a widget library. This is where widgets are saved and managed.&#x20;

Before you can add widgets to your interaction template, a widget library has to be added to your project. You can add and manage widget libraries in the 'Files and Assets' tab of the resource pane.&#x20;

<div align="left"><img src="/files/j9yJKvPjgAjIIZsO5bWw" alt=""> <img src="/files/3p1c5PjIb6WAipHmgJ11" alt=""></div>

When you open the sub-menu of widget libraries you get the options shown above, in the right-hand side. Here you can open the widget editor to make your own widgets or add a library to your project. Find out more about the [Widget Editor](/platform/wemreference/wem-widgets/widget-editor.md) and how to make your own widgets.&#x20;

You can add a library by selecting the add widget library option in the sub-menu. This will open a window with all the widget libraries you can add to your project. Here you can select a library to add and you can see all widgets that are in a library. If you want to add a specific widget, you first have to add the library to your project and select the widget in the template editor.&#x20;

![](/files/i4B90TCxdpI4K9zilIJ4)

When you have a library selected the 'Ok' button turns green and you can add it to your project. Hereafter, when you want to add a widget to the interaction template editor you can use the widgets from the added libraries.&#x20;

Every library has is their own category and function. There are also some libraries that don't show any widgets. These widgets are only shown when you have a supported type of project. For example, mobile app widgets can only be added when in a mobile project, the same for Charts 2.6 are for other types of projects.&#x20;

Some widgets use API's to communicate with a service, because API's are sometimes updated or changed some widgets will not always work, especially social media API's.&#x20;

How to add and use widgets and in a user interaction screen is explained on the [Miscellaneous](/platform/template-editor/miscellaneous.md#custom-widgets) page.&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.wem.io/platform/wemmodeler/files-and-assets/widget-libraries.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
