Skip to main content

Awoken UI

Awoken UI hooks into ox_lib at runtime, so existing scripts that already use lib.notify(), lib.progressBar(), etc. will automatically use the Awoken theme with zero code changes. You can also call exports directly via exports['awoken_ui'].

Notifications

Progress bar

Progress circle

Cancel / query progress

Text UI

The Text UI surfaces a persistent on-screen prompt with optional keybind chips. Any [X] token in the text is auto-detected and rendered as a styled chip. Use | between actions and the prompt will stack them vertically, one chip per line.
The script API hasn’t changed. Existing prompts like 'Press [E] to interact' automatically pick up the new chip styling without code changes.

Input dialog

Each row can carry a description, a default value, a placeholder, a required flag, and a type-specific icon highlight in the label. select fields render via a portal-mounted dropdown so they can overflow the dialog cleanly.
Each field label gets a small type-specific icon highlight automatically (text, number, select, slider, etc). Mark a field with required = true to add a red asterisk and prevent submission until it’s filled.

Alert dialog

Context menu

List menu

Radial menu

The radial menu keybind defaults to Z and can be changed in config.lua via AwokenConfig.radialOpenKey.

Skill check

Runtime config override

Merge config fields into the live UI without restarting the resource. Useful for previewing variants (e.g. progressBarVariant, skillcheckVariant) on the fly. Not persisted - reverts to config.lua on restart.
Every export is registered in PascalCase (Notify, ShowContext) and also as a camelCase alias matching ox_lib’s lib.* names (notify, showContext), so either casing resolves to the same function.