> For the complete documentation index, see [llms.txt](https://nui-for-anvil.gitbook.io/nui/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nui-for-anvil.gitbook.io/nui/whats-new-in-v2.md).

# What's new in v2

The v2 of NUI is now available. This brings the following improvement

## Third Party Dependency

NUI is now available as a third-party dependency for easier updates and minified versions.

{% content-ref url="/pages/zYe5xORBr6IDYejw52TR" %}
[How to Use](/nui/how-to-use.md)
{% endcontent-ref %}

## New Image & Link Components

{% content-ref url="/pages/CyH2xJQs9yWJ1S8BYNav" %}
[Components & Properties](/nui/docs/components-and-properties.md)
{% endcontent-ref %}

## An Experimental HTML to NUI Converter

It is now possible to convert any HTML code into a proper Anvil form with NUI components.

{% content-ref url="/pages/HfglQmZ5JhdJSHRKp0NA" %}
[HTML to NUI Converter](/nui/html-to-nui-converter.md)
{% endcontent-ref %}

## Experimental `true_html_structure` property

This property allows NUI containers to remove any Anvil wrappers from components added to it. This overrides the default `add_component` method, which may break things. (HTML to NUI converter also uses this property)

{% content-ref url="/pages/CyH2xJQs9yWJ1S8BYNav" %}
[Components & Properties](/nui/docs/components-and-properties.md)
{% endcontent-ref %}

## Designer-only Components

v2 introduces designer-only components that improve the Anvil designer experience.

{% content-ref url="/pages/Ow3O6yL99la9nmSLk8QS" %}
[Designer Only Components](/nui/docs/designer-only-components.md)
{% endcontent-ref %}

## Allow setting HTML attributes

You can now add any HTML attribute to NUI components

{% content-ref url="/pages/YWdUKwqNz6lsWrNhONls" %}
[Using Attributes](/nui/docs/using-attributes.md)
{% endcontent-ref %}


---

# 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:

```
GET https://nui-for-anvil.gitbook.io/nui/whats-new-in-v2.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.
