concept_ui)A free UI package for FiveM: notifications, interaction prompts, progress bars, dialogs, menus and skill checks with three themes and an in-game editor. The calls take the same options as ox_lib.
Source and download · Report an issue · Concept Bridge
Use this guide with your installed version's changelog.
Install concept_bridge.
Put the concept_ui folder in resources (keep the name) and add it to server.cfg after the bridge and before the scripts that use it:
ensure oxmysql
ensure ox_lib
# your framework and inventory here
ensure concept_bridge
ensure concept_ui
add_ace group.admin concept_ui.edit allow
Run cui_oxlib install once in the server console and restart, so ox_lib scripts use this UI too.
Join and type /cuidemo.
| Command | Who | What it does |
|---|---|---|
/editui |
players, admins | The theme editor. Save for me, or Save for everyone with concept_ui.edit |
/cuidemo |
concept_ui.edit |
Shows every part once |
cui_oxlib install / status / remove |
server console | Send every ox_lib script's UI here |
cui_framework install / status / uninstall |
server console | The same for QBCore and ESX notifications |
editui reset |
server console | Back to the look in config.lua |
Every part of concept_ui with a short example. The full option list of each call is in API.md; what each ox_lib option does here is in OX_LIB_COVERAGE.md.
exports.concept_ui:Notify({
title = 'Payment received',
description = 'You were paid $1,250.',
type = 'success', -- success | error | warning | info | primary (ox_lib's "inform" works too)
duration = 5000,
position = 'top-right', -- top-right | top-left | top | bottom-right | bottom-left | bottom | center-right | center-left
icon = 'money', -- optional, Font Awesome names are matched too ('fa-solid fa-car')
id = 'paycheck', -- optional: a later notify with the same id replaces this one
})
exports.concept_ui:Notify('Saved', 'success', 3000) -- ESX / QBCore style
-- server
exports.concept_ui:Notify(source, { title = 'Bank', description = 'Paid $50', type = 'success' })
exports.concept_ui:Notify(-1, 'Server restart in 5 minutes', 'warning') -- everyone
The same message twice shows a x2 counter instead of a second card.
exports.concept_ui:ShowTextUI('[E] Open the garage')
exports.concept_ui:ShowTextUI('Open the garage', { key = 'E', position = 'right-center' })
exports.concept_ui:HideTextUI()
local open, text = exports.concept_ui:IsTextUIOpen()
-- several keys in one prompt: [E] Open [G] Lock [H] Knock
exports.concept_ui:ShowTextUI('[E] Open', { keys = { { key = 'G', label = 'Lock' }, { key = 'H', label = 'Knock' } } })
Both block and return true when finished, false when cancelled (X), or when the player dies, ragdolls, falls, swims or is cuffed (each can be allowed).
local ok = exports.concept_ui:Progress({
label = 'Picking the lock',
duration = 5000,
canCancel = true,
disable = { move = true, car = true, combat = true, mouse = false },
anim = { dict = 'mp_arresting', clip = 'a_uncuff' }, -- or { scenario = 'PROP_HUMAN_BUM_BIN' }
prop = { model = 'prop_tool_screwdvr01', bone = 57005, pos = vec3(0.1, 0.0, 0.0), rot = vec3(0.0, 0.0, 0.0) },
})
local ok = exports.concept_ui:ProgressCircle({ label = 'Searching', duration = 4000, position = 'bottom' }) -- 'middle' or 'bottom'
exports.concept_ui:IsProgressActive()
exports.concept_ui:CancelProgress()
local result = exports.concept_ui:Alert({
header = 'Sell vehicle',
content = 'Sell the Sultan RS for $18,500?\nThis cannot be undone.',
cancel = true, -- show the Cancel button (Esc)
size = 'md', -- xs | sm | md | lg | xl
labels = { confirm = 'Sell', cancel = 'Keep' },
})
if result == 'confirm' then ... end -- 'confirm' or 'cancel'
exports.concept_ui:CloseAlert()
Same rows and return values as ox_lib's inputDialog.
local values = exports.concept_ui:InputDialog('Give cash', {
{ type = 'number', label = 'Player ID', icon = 'user', required = true, min = 1 },
{ type = 'number', label = 'Amount', default = 500, min = 1, max = 100000 },
{ type = 'select', label = 'Account', default = 'cash',
options = { { value = 'cash', label = 'Cash' }, { value = 'bank', label = 'Bank' } } },
{ type = 'checkbox', label = 'Send a receipt', checked = true },
}, { allowCancel = true, size = 'md' })
if not values then return end -- cancelled
local id, amount, account, receipt = values[1], values[2], values[3], values[4]
exports.concept_ui:CloseInputDialog()
Row types: input (password, minLength, maxLength), textarea (autosize), number and slider (min, max, step), checkbox (checked), select (searchable, clearable), multi-select (maxSelectedValues), date and date-range (returnString, format like DD/MM/YYYY), time and color. Every row takes label, description, placeholder, icon, iconColor, default, required and disabled. Empty fields return nil; Enter sends, Esc cancels.
exports.concept_ui:RegisterContext({
id = 'garage',
title = 'Legion Garage',
onExit = function() end,
options = {
{ title = 'Sultan RS', description = 'Fuel 82%', icon = 'car', menu = 'garage_car', progress = 82, colorScheme = '#2ecc71' },
{ title = 'Garage info', readOnly = true, metadata = { { label = 'Slots', value = '12 / 20' } } },
{ title = 'Impounded', disabled = true },
{ title = 'Buy a slot', icon = 'money', iconColor = '#ffbe1e', onSelect = function(args) end, args = { price = 5000 } },
{ title = 'Call a mechanic', event = 'myscript:mechanic', serverEvent = 'myscript:server:mechanic', args = {} },
},
})
exports.concept_ui:RegisterContext({ id = 'garage_car', title = 'Sultan RS', menu = 'garage', options = { ... } }) -- `menu` = back button target
exports.concept_ui:ShowContext('garage')
exports.concept_ui:HideContext(true) -- true runs onExit
exports.concept_ui:GetOpenContextMenu()
Mouse or keyboard: arrows, Enter, Esc / Backspace to go back. Metadata shows when the option is hovered. While a menu is open, notifications on the right slide aside.
The keyboard menu from ox_lib's registerMenu: the player keeps walking while it is open (unless disableInput = true).
exports.concept_ui:RegisterMenu({
id = 'clothing',
title = 'Clothing',
position = 'top-left', -- top-left | top-right | bottom-left | bottom-right
canClose = true,
onSideScroll = function(selected, scrollIndex, args) end,
onCheck = function(selected, checked, args) end,
onSelected = function(selected, secondary, args) end, -- moving between options
onClose = function(keyPressed) end, -- 'Escape' | 'Backspace'
options = {
{ label = 'Hat', icon = 'hat-cowboy', values = { 'None', 'Cap', 'Beanie' }, defaultIndex = 1 },
{ label = 'Glasses', values = { { label = 'Aviators', description = 'Gold frame' } } },
{ label = 'Mask on', checked = false },
{ label = 'Armour', progress = 60, colorScheme = '#2ecc71' },
{ label = 'Save outfit', description = 'Keeps it for later', args = { save = true }, close = false },
},
}, function(selected, scrollIndex, args, checked) end) -- Enter
exports.concept_ui:ShowMenu('clothing', 1)
exports.concept_ui:HideMenu(true) -- true runs onClose
exports.concept_ui:SetMenuOptions('clothing', { label = 'Hat' }, 1)
exports.concept_ui:GetOpenMenu()
Up / Down move, Left / Right change a value, Enter picks (or ticks a checkbox), Backspace / Esc close.
A ring the player opens with Z (Config.Radial.key, rebindable; hold = true picks on release). Scripts add items to it; the wedge in the mouse's direction is picked, like a game emote wheel. More than 8 items get a "More" wedge.
exports.concept_ui:AddRadialItem({
{ id = 'vehicle', label = 'Vehicle', icon = 'car', menu = 'vehicle_menu' },
{ id = 'show_id', label = 'Show ID', icon = 'id-card', onSelect = function(currentMenu, index) end },
})
exports.concept_ui:RegisterRadial({ id = 'vehicle_menu', items = {
{ label = 'Engine', icon = 'power-off', keepOpen = true, onSelect = function() end },
{ label = 'Trunk', icon = 'box-open', onSelect = 'myExport' }, -- an export of the calling resource
} })
exports.concept_ui:RemoveRadialItem('show_id')
exports.concept_ui:ClearRadialItems()
exports.concept_ui:HideRadial()
exports.concept_ui:DisableRadial(true)
exports.concept_ui:GetCurrentRadialId()
Items and submenus go away when the resource that added them stops.
local ok = exports.concept_ui:SkillCheck({ 'easy', 'medium', { areaSize = 30, speedMultiplier = 2 } }, { 'w', 'a', 's', 'd' })
exports.concept_ui:CancelSkillCheck()
Press the shown key while the needle is inside the zone. Every round must hit; a wrong key or a miss fails.
Every part's place is set in Config.Layout (notifications, prompt, progress bar, circle, context menu, list menu, skill check). Scripts can still pass their own position per call, and you can move parts at runtime:
exports.concept_ui:SetLayout({ notify = 'top-left', textui = 'bottom' }) -- false puts a part back to config.lua
exports.concept_ui:GetLayout()
Hide the passive parts (notifications, prompt, progress) for a cutscene, a screenshot mode or a menu of your own. Dialogs and menus stay usable. Hides stack per resource and reason, and a resource that stops never leaves the UI hidden:
exports.concept_ui:SetHidden(true, 'cutscene')
exports.concept_ui:SetHidden(false, 'cutscene')
exports.concept_ui:IsHidden()
AddEventHandler('concept_ui:hiddenChanged', function(hidden) end) -- client event
They also hide while the pause menu is open (Config.HideOnPause).
Three looks: default (flat dark panels, Concept blue), midnight (black, sharp corners) and light. On top of a theme you can set the main colour, the panel colour and opacity, the corner size and the UI size. The UI size is relative to a 1920 x 1080 screen: on 1440p and 4K everything grows with the resolution, so the theme does not need a different size per monitor.
In game, /editui opens the editor with a live preview. Save for me keeps the look on the player's own PC (KVP, no database); Reset and then Save for me goes back to the server's look, and Config.PlayerThemes = false turns this off. Save for everyone is for players with the ACE in Config.EditPermission (for example add_ace group.admin concept_ui.edit allow): it stores the look in theme.json and sends it to every player at once. editui reset in the server console goes back to config.lua.
In config.lua: Config.Theme = { preset = 'midnight', background = '#101216', opacity = 0.8, radius = 4 } and Config.Accent.
concept_chat has its own colours, set in its /editchat, and does not follow this look. The preset names are the same, so set both the same to match them. The values are below.
From a script, for one player:
exports.concept_ui:SetTheme('light') -- or { preset, accent, background, opacity, radius, scale }
exports.concept_ui:SetTheme(nil) -- back to the server's theme
exports.concept_ui:GetTheme()
exports.concept_ui:GetSharedTheme() -- the look as CSS-ready values, see docs/THEMES.md
Icons: with Config.FontAwesome = true (default) any Font Awesome name works ('car', 'fa-solid fa-house'), loaded from jsDelivr. Without it, or offline, names are matched to the built-in icon set.
concept_ui's theme names and values. concept_chat has the same preset names but its own colours, set in its /editchat; it does not follow /editui. To match the two, set both the same.
| Name | Look |
|---|---|
default |
flat dark panels, hard shadows, Concept blue |
midnight |
black panels, thin outlines in the main colour, square corners |
light |
white panels, soft shadows, round corners |
| Key | Type | Range | Notes |
|---|---|---|---|
preset |
string | one of the presets above | unknown names fall back to default |
accent |
hex string | #rrggbb or #rgb |
the main colour |
background |
hex string | #rrggbb |
panel colour, optional |
opacity |
number | 0.3 to 1 | panel opacity, optional |
radius |
number | 0 to 20 px | corners, optional |
scale |
number | 0.6 to 2 | size, optional |
There is no blur in any preset, on purpose (it costs frames in game).
For other scripts that want to match concept_ui. concept_ui fires a client event whenever the look changes (start, /editui, SetTheme), and the same table comes from an export:
AddEventHandler('concept_ui:themeChanged', function(t) end)
local t = exports.concept_ui:GetSharedTheme()
-- t = { preset, accent, background, background2, radius, light, scale }
background and background2 are ready CSS colours (rgba(...)) with the opacity already applied, radius is in px before scaling, light is true for light panels.
| Meaning | concept_ui | concept_chat |
|---|---|---|
| main colour (r, g, b) | --cn-accent |
--cc-accent |
| panel | --cn-bg |
--cc-bg |
| raised panel | --cn-bg-2 |
--cc-bg-2 |
| text | --cn-text |
--cc-text |
| dim text | --cn-dim |
--cc-dim |
| size | --cn-scale |
--cc-scale |
| preset | data-theme on `` |
data-theme on `` |
How to move scripts over from ox_lib, ESX or QBCore, including the ones you cannot edit.
| You use | Replace with |
|---|---|
lib.notify(data) |
exports.concept_ui:Notify(data) |
lib.showTextUI(text) / lib.hideTextUI() |
exports.concept_ui:ShowTextUI(text) / HideTextUI() |
lib.progressBar(data) / lib.progressCircle(data) |
exports.concept_ui:Progress(data) / ProgressCircle(data) |
lib.alertDialog(data) |
exports.concept_ui:Alert(data) |
lib.inputDialog(heading, rows, options) |
exports.concept_ui:InputDialog(heading, rows, options) |
lib.registerContext / lib.showContext |
exports.concept_ui:RegisterContext / ShowContext |
lib.skillCheck(difficulty, inputs) |
exports.concept_ui:SkillCheck(difficulty, inputs) |
lib.registerMenu / lib.showMenu |
exports.concept_ui:RegisterMenu / ShowMenu |
lib.addRadialItem / lib.registerRadial |
exports.concept_ui:AddRadialItem / RegisterRadial |
ESX.ShowNotification(msg, type, ms) / QBCore.Functions.Notify(msg, type, ms) |
exports.concept_ui:Notify(msg, type, ms) |
Scripts you can't edit (ox_inventory, ox_banking, ox_doorlock, ...) call ox_lib, and ox_lib draws its own UI. In the server console:
cui_oxlib install adds one line to each of ox_lib's UI functions; restart the server after
cui_oxlib status says whether ox_lib still draws its own UI
cui_oxlib remove takes the lines out again
Each line goes right after a function header in ox_lib/resource/interface/client/ (notify, text UI, progress, alert, input, context, list and radial menus, skill check), so it works on any ox_lib version. While concept_ui runs it draws the UI; when it stops, ox_lib's own UI is back. Server-sent ox_lib notifications are covered too.
An ox_lib update replaces its files, so run cui_oxlib install again after updating, or set Config.OxLibAutoPatch = true to have it done at start. The server console says when ox_lib still draws its own UI (Config.OxLibHint).
qb-core and es_extended show their own notifications, so a script that calls QBCore.Functions.Notify or ESX.ShowNotification (or /ear on QB) would not use concept_ui. In the server console:
cui_framework install adds one line to QBCore.Functions.Notify and ESX.ShowNotification, and does cui_oxlib install
cui_framework status says for qb-core, es_extended and ox_lib whether they come here
cui_framework uninstall takes the lines out again
Restart the whole server after install or uninstall (these are core resources). Running install twice changes nothing. Before a file is changed, a copy goes to concept_ui/backups. The line only sends the call here while concept_ui is started, so if you stop it, the framework's own notifications come back. QB types are mapped (primary, police, ambulance become info), and the { text, caption } form becomes description and title. Players with the ACE command.cui_framework can run it too.
A framework update replaces its files and with that the line. The server console tells you at start when a framework still shows its own notifications; run cui_framework install again then. Turn a framework off in Config.Takeover to leave it alone.
ESX: instead of the patch you can use extras/esx_notify, a stand-in for ESX's own esx_notify resource. Swap the folders and es_extended stays untouched, so updates don't undo it (see its README). cui_framework status shows ESX as covered then.
Qbox: qbx_core shows its notifications through ox_lib, so the ox_lib part covers it.
extras/ox_target/web is ox_target's eye in this look: a small ring that fills with the main colour, and the options as slanted cards with Font Awesome icons. Copy it over ox_target/web (keep a copy of the original) and restart ox_target. It uses ox_target's own events, so nothing else changes. While concept_ui runs, the eye follows its theme (main colour, panels, corners, size), including changes from /editui; without it, it stays Concept blue.
The eye asks concept_ui for its theme with a NUI callback. A server that turns on FiveM's strict NUI callbacks blocks that request; the eye then stays in the default Concept blue and everything else works.
concept_ui needs Concept Bridge 1.0.0 or newer. The bridge tells concept_ui which framework runs (shown in the startup line), so concept_ui itself has no framework code.
FiveM cannot check versions in dependency, so an older bridge is not caught at start. Use 1.0.0 or newer.
From the next bridge release, the bridge picks concept_ui automatically for notifications, help text ([E] prompts), progress bars, menus and input dialogs when it is running, so every script that goes through the bridge uses this UI with no changes. To keep another UI for one of them, set its choice in the bridge's settings (Notify, HelpText, ProgressBarSystem, MenuSystem, InputSystem).
While concept_hud runs, Config.HudLayout moves the parts that would sit on top of it: notifications go center-right (the HUD has money and ID top-right) and the prompt goes to the bottom. It switches back when the HUD stops. Set Config.HudLayout = false to ignore the HUD.
With Config.FollowHud = true, the passive parts also hide whenever the HUD is blocked (exports.concept_hud:SetBlocked), so character select, clothing menus and cutscenes stay clean.
config.lua explained. The comments in the file say the same in more detail.
config.lua starts with the settings most servers change: language, main colour, theme, size and Config.Debug. Below that: layout and HUD layout, hiding on pause and with the HUD, the editor permission and player themes, Font Awesome, colours per notification type, notification duration, count and x2 stacking, sounds, the progress cancel key, the radial menu key, single-word text changes, the demo command and the ox_lib patch options.
Every setting in config.lua. The comments in the file say the same in more detail.
| Key | Default | What it does |
|---|---|---|
Config.Locale |
'en' |
Language (en, hu, de, fr, es, it, pl, pt) |
Config.Accent |
'#0055c4' |
Main colour |
Config.Theme |
{ preset = 'default' } |
Starting theme: preset, background, opacity, radius |
Config.Scale |
1.0 |
UI size |
Config.Debug |
false |
Extra console lines and /uitest |
Config.Layout |
see config |
Position of each part (notify, textui, progress, circle, context, skill, menu) |
Config.HudLayout |
see config |
Layout overrides while concept_hud runs; false = ignore the HUD |
Config.HideOnPause |
true |
Hide while the pause menu is open |
Config.FollowHud |
true |
Hide while concept_hud is blocked |
Config.EditPermission |
'concept_ui.edit' |
ACE that may save a look for everyone in /editui |
Config.PlayerThemes |
true |
Players may save their own look; false = /editui admin only |
Config.FontAwesome |
true |
Load Font Awesome icons (built-in icons when off or offline) |
Config.Colors |
success, error, warning, info |
Colour per notification type (hex); primary = Accent if left out |
Config.Duration |
5000 |
Notification time in ms when the call gives none |
Config.MaxVisible |
5 |
Notifications shown at once per corner |
Config.Stack |
true |
Repeat of a visible notification adds an x2 counter |
Config.Sound |
enabled, volume, events |
UI sounds: enabled, volume and each event (notify, error, open, close, move, select) |
Config.Progress |
{ cancelControl = 73, cancelKeyLabel = 'X' } |
Key that cancels a cancellable progress bar and its label |
Config.Radial |
{ enabled = true, key = 'z', hold = false } |
Radial menu on/off, key, hold to open |
Config.Text |
{} |
Override single words of the language file |
Config.Demo |
{ command = 'cuidemo', permission = 'concept_ui.edit' } |
/cuidemo command and its ACE; false removes it |
Config.OxLibAutoPatch |
false |
Run cui_oxlib install on its own at start |
Config.OxLibHint |
true |
Console hint while ox_lib still draws its own UI |
Config.Takeover |
{ qb = true, esx = true, oxlib = true } |
Which framework UIs cui_framework hands over; false = leave alone |
Config.Locale: en, hu, de, fr, es, it, pl or pt (files in locales/). Missing words fall back to English. Change single words with Config.Text, for example Config.Text = { cancel = 'Nope' }. All eight files have the same words (the Lua test checks it). en and hu are checked by us; the other six are not yet reviewed by native speakers, corrections are welcome. pt is Brazilian Portuguese, worded to read naturally in Portugal too where possible. To add a language, copy locales/en.lua, translate it and set Config.Locale to its code.
Short UI sounds are made in the page (no sound files): a notification, an error, a menu opening and closing, moving between options and picking one. Config.Sound.volume sets the volume for all of them, and each event is true, false or its own volume. Nothing plays while the UI is hidden.
With a gamepad, the d-pad, A and B work like the arrow keys, Enter and Esc in the list menu, the context menu and the alert, and the radial menu follows the left stick. The input dialog needs a keyboard for text. The loop that reads the controller only runs while one of these is open.
At start the server console gets one line with the version and what concept_ui found:
[concept_ui] 1.0.0 | bridge: 1.1.1 | framework: qbx_core | chat: concept_chat | ox_lib: 3.39.0 (patched) | concept_hud: yes
Real problems (a menu id that does not exist, a callback that errors) always print as a yellow or red line. Config.Debug = true adds a few notes about missing optional resources and the /uitest command. With it off, nothing else is printed.
The only loop that always runs is a 250 ms visibility check (pause menu, concept_hud blocked) in client/layout.lua. Menus and progress bars run a per-frame loop only while they are open; everything else waits for events.
Every export, event and command in concept_ui. Examples for each part are in the README. Type definitions for lua-language-server are in types/concept_ui.lua.
Call them as exports.concept_ui:Name(...).
| Export | Returns | Notes |
|---|---|---|
Notify(data) / Notify(message, type, duration) / Notify(title, message, type, duration) |
id or nil | data: title, description, type, duration, position, icon, iconColor, iconAnimation, showDuration, id |
ShowTextUI(text, options) |
options: key, keys, position, color, icon, iconColor, iconAnimation |
|
HideTextUI() |
||
IsTextUIOpen() |
open, text |
| Export | Returns | Notes |
|---|---|---|
Progress(data) |
boolean | blocks; label, duration, canCancel, position, useWhileDead, allowRagdoll, allowSwimming, allowCuffed, allowFalling, disable, anim, prop |
ProgressCircle(data) |
boolean | same options, position = middle or bottom |
IsProgressActive() |
boolean | |
CancelProgress() |
| Export | Returns | Notes |
|---|---|---|
Alert(data, timeout) |
'confirm', 'cancel' or nil (timeout) |
blocks; header, content (**bold**, *italic*, `code`), centered, cancel, size, labels |
CloseAlert() |
the open alert returns 'cancel' |
|
InputDialog(heading, rows, options) |
values or nil | blocks; see the README for row types |
CloseInputDialog() |
the open dialog returns nil | |
IsInputDialogOpen() |
boolean |
| Export | Returns | Notes |
|---|---|---|
RegisterContext(menu or menus, owner) |
owner is optional (the resource the menu belongs to) |
|
ShowContext(id) |
||
HideContext(runOnExit) |
||
GetOpenContextMenu() |
id or nil | |
RegisterMenu(menu, cb, owner) |
list menu | |
ShowMenu(id, startIndex) |
||
HideMenu(runOnClose) |
||
SetMenuOptions(id, options, index) |
one option with index, all without |
|
GetOpenMenu() |
id or nil | |
AddRadialItem(items, parentId, owner) |
an item or a list; the same id replaces |
|
RemoveRadialItem(id, parentId) |
||
ClearRadialItems() |
the global ring | |
RegisterRadial({ id, items }, owner) |
a submenu | |
HideRadial() |
||
DisableRadial(state) |
||
GetCurrentRadialId() |
id or nil | the open submenu |
IsRadialOpen() |
boolean |
| Export | Returns | Notes |
|---|---|---|
SkillCheck(difficulty, inputs) |
boolean | blocks |
SkillCheckActive() |
boolean | |
CancelSkillCheck() |
| Export | Returns | Notes |
|---|---|---|
SetLayout(changes) |
moves parts for this player, e.g. { notify = 'top-left', textui = 'bottom' }; false puts a part back to config.lua; an unknown part name is an error |
|
GetLayout() |
table | where every part is right now |
SetTheme(name or theme) |
a preset name or { preset, accent, background, opacity, radius, scale } for this player until they rejoin; SetTheme(nil) goes back to the server's theme |
|
GetTheme() |
table | the theme in use |
GetSharedTheme() |
table | the look as CSS-ready values, see THEMES.md |
SetHidden(state, reason) |
hides the passive parts (notifications, prompt, progress); each script and reason counts on its own, so two scripts don't undo each other |
|
IsHidden() |
boolean |
| Export | Notes |
|---|---|
NotifyQB(text, type, length, icon) |
what qb-core calls after cui_framework install; same arguments as QBCore.Functions.Notify |
NotifyESX(message, type, length, title, position) |
what es_extended calls after cui_framework install; same arguments as ESX.ShowNotification |
Turn a framework off in Config.Takeover (qb, esx, oxlib) to leave it alone.
| Export | Notes |
|---|---|
Notify(target, ...) |
target is a player id or -1 for everyone, then the same arguments as the client export |
| Event | Side | Notes |
|---|---|---|
concept_ui:notify |
client (net) | TriggerClientEvent('concept_ui:notify', id, data) |
concept_ui:hiddenChanged |
client (local) | function(hidden) when the passive parts hide or show |
concept_ui:themeChanged |
client (local) | function(sharedTheme) when the look changes, same table as GetSharedTheme() |
The concept_ui:theme, concept_ui:openEditor, concept_ui:demo, concept_ui:saveTheme and concept_ui:themeRequest events are internal.
| Command | Who | Notes |
|---|---|---|
/editui |
everyone (Save for me), ACE concept_ui.edit (Save for everyone) |
theme editor |
editui reset |
server console | back to Config.Theme |
/cuidemo |
Config.Debug or ACE concept_ui.edit |
plays every part once |
/uitest |
Config.Debug |
one part: notify, prompt, keys, progress, circle, alert, input, context, menu, radial, skill |
cui_oxlib install, status, remove |
server console | the ox_lib hand-over |
cui_framework install, status, uninstall |
server console | the qb-core and es_extended hand-over, backups go to backups/ |
| Radial key (Z) | everyone | Config.Radial.key, rebindable in Key Bindings |
What concept_ui does with each ox_lib UI function and option. cui_oxlib install sends the functions in this list to concept_ui; everything else in ox_lib keeps working as before.
| ox_lib | concept_ui | Notes |
|---|---|---|
lib.notify, lib.defaultNotify, the ox_lib:notify event |
Notify |
title, description, type, duration, position, icon (string or { prefix, name }), iconColor, iconAnimation, showDuration, id |
lib.showTextUI, hideTextUI, isTextUIOpen |
ShowTextUI, HideTextUI, IsTextUIOpen |
position, icon, iconColor, iconAnimation; [E] in the text becomes a keycap |
lib.progressBar, progressCircle, cancelProgress, progressActive |
Progress, ProgressCircle, CancelProgress, IsProgressActive |
every option, including anim, prop (one or a list) and disable |
lib.alertDialog, closeAlertDialog, the ox_lib:alertDialog event |
Alert, CloseAlert |
timeout; content markdown: bold, italic, code, line breaks |
lib.inputDialog, closeInputDialog |
InputDialog, CloseInputDialog |
every row type and option, the same return values |
lib.registerContext, showContext, hideContext, getOpenContextMenu |
RegisterContext, ShowContext, HideContext, GetOpenContextMenu |
menu, onExit, onBack, canClose, options as list or map, onSelect, event, serverEvent, args, metadata, progress, colorScheme, arrow, disabled, readOnly, image |
lib.registerMenu, showMenu, hideMenu, setMenuOptions, getOpenMenu |
RegisterMenu, ShowMenu, HideMenu, SetMenuOptions, GetOpenMenu |
values, checked, progress, colorScheme, defaultIndex, close, args, disableInput, canClose, position, every callback |
lib.addRadialItem, removeRadialItem, clearRadialItems, registerRadial, hideRadial, disableRadial, getCurrentRadialId |
AddRadialItem, RemoveRadialItem, ClearRadialItems, RegisterRadial, HideRadial, DisableRadial, GetCurrentRadialId |
menu, onSelect (function or export name), keepOpen |
lib.skillCheck, cancelSkillCheck, skillCheckActive |
SkillCheck, CancelSkillCheck, SkillCheckActive |
difficulty names, { areaSize, speedMultiplier }, lists, inputs |
| ox_lib | What happens |
|---|---|
style on notify, text UI and progress |
Ignored. Use the theme (/editui) or color instead. |
alignIcon on notify and text UI |
Ignored; icons sit in the coloured block. |
iconWidth / iconHeight on radial items |
Ignored; every icon has the same size. |
iconAnimation on menu and context options |
Ignored. |
Alert overflow |
Long texts wrap; the card does not scroll. |
| Markdown beyond bold, italic, code and line breaks in alerts | Shown as plain text (links, lists, headings). |
lib.setClipboard, lib.getLocales and the rest of ox_lib |
Not UI; ox_lib keeps doing it. |
Icons: with Config.FontAwesome = true any Font Awesome name works. Without it, names are matched to the built-in set by keyword, and names it does not know show no icon.
Common problems and what to do about them.
concept_bridge, put ensure concept_bridge above ensure concept_ui and check the bridge's own errors (often ox_lib, oxmysql or OneSync missing).framework: none: the bridge found no framework. That is fine on a standalone server; otherwise start the framework before the bridge.cui_oxlib install in the server console and restart. After an ox_lib update run it again, or set Config.OxLibAutoPatch = true./cuidemo says no access: add add_ace group.admin concept_ui.edit allow to server.cfg and make sure you are in that group, or set Config.Demo.permission = false.Config.Layout.notify to another corner. With concept_hud the Config.HudLayout entries win.Config.FontAwesome = false and the built-in icons are used.config.lua: a saved theme.json wins. Run editui reset in the server console.ensure concept_ui higher in server.cfg.Free and open source. Code: GPL-3.0 (see LICENSE). Copyright (C) 2026 Concept Studio. extras/ox_target is based on ox_target's page and keeps its MIT license (Overextended). Fonts: Barlow, Barlow Condensed and Syne, SIL OFL 1.1. Font Awesome Free loads from jsDelivr when enabled (icons CC BY 4.0, fonts OFL). See THIRD_PARTY_LICENSES.md.
Made by Concept Studio. More scripts: conceptstudio.store. Questions and updates: Discord.
We aim to reply on Discord within 24 hours on business days.
Need help with setup? Join Discord or support@conceptstudio.store.