# Using libui Classes

In most cases you don't have to use the libui library directly, because Vuido provides its own API and components to interface with that library.

However, there are situations where you have to directly use some classes from the libui library. You can import it in the following way:

```javascript
import libui from 'libui-node'

const path = new libui.UiDrawPath( libui.fillMode.winding );
```

Alternatively, you can use the `$libui` property available in all Vuido components:

```javascript
const path = new this.$libui.UiDrawPath( this.$libui.fillMode.winding );
```

{% hint style="info" %}
For more information, see the [libui-node documentation](https://github.com/parro-it/libui-node/tree/master/docs).
{% endhint %}


---

# 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://vuido.mimec.org/usage/using-libui-classes.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.
