> For the complete documentation index, see [llms.txt](https://nanoscripts.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nanoscripts.gitbook.io/docs/scripts/ox_lib-redesign.md).

# ox\_lib Redesign

A new look for every ox\_lib menu, dialog and notification. Your scripts stay exactly as they are.

A full redesign of ox\_lib's interface. Notifications, menus, dialogs, progress bars and the skill check get a new glass look, while ox\_lib itself stays the official version underneath. Every script made for **ox\_lib** works with it, without any changes.

{% hint style="info" %}
**At a glance** · Version 1.0.0 · Built on ox\_lib 3.32.2 · Any framework · No config file, no SQL
{% endhint %}

## What's redesigned

| Part                      | What's new                                                                                                                                 |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| **Notifications**         | All eight ox\_lib positions. A countdown ring round the icon, icon colours and animations, markdown. Repeats fold into one with a counter. |
| **Text UI**               | `[E]` in the text becomes a real keycap. Optional icon.                                                                                    |
| **Progress bar & circle** | A liquid fill with a live percentage. A tick when it finishes, a cross when it is cancelled.                                               |
| **Alert dialog**          | Every size, markdown, and long text that scrolls inside the card.                                                                          |
| **Context menu**          | Progress bars in rows, metadata cards, submenus with a back button, disabled and read-only options, image icons.                           |
| **List menu**             | Values with a counter, checkboxes, bars and a description card, in all four corners.                                                       |
| **Input dialog**          | Every ox\_lib field type, with searchable selects, a calendar and a colour picker. Long forms scroll.                                      |
| **Radial menu**           | Six slots per page with **More**, submenus, and a centre button to go back or close.                                                       |
| **Skill check**           | A ring that shows each stage, the easy, medium and hard presets, custom difficulty and custom keys.                                        |

## Features

* Works with the scripts you already have. Same folder name, same exports, same functions.
* Your own colour, from ox\_lib's usual `ox:primaryColor` setting.
* Nine languages, following ox\_lib's language setting.
* Sharp on every screen: drawn for 1920×1080 and scaled to the player's resolution.
* Every menu works with the keyboard as well as the mouse.
* If one part ever fails, it closes cleanly and the others keep working.

## Editions

| Edition         | What you get                                                                          |
| --------------- | ------------------------------------------------------------------------------------- |
| **Escrow**      | The finished interface, ready to use.                                                 |
| **Open source** | The same, plus the full source code of the interface in `web/`, so you can change it. |

Both editions contain ox\_lib's normal, readable Lua files. Nothing is encrypted.

## Requirements

| Resource                                | Needed                                                    |
| --------------------------------------- | --------------------------------------------------------- |
| FiveM server artifact **7290** or newer | Yes                                                       |
| OneSync                                 | Yes                                                       |
| ox\_lib                                 | **No.** This is ox\_lib. It replaces your ox\_lib folder. |

#### Support

* **Discord:** <https://discord.gg/nanoscripts>
