FiveM UI Kit
Free ox_lib redesign: notifications, menus, radial, progress and dialogs with a clean look, new minigames and a /uiconfig panel.
What's included
FiveM UI Kit is a full visual redesign of ox_lib: flat, clean, with one accent colour and soft gradients. Free and open source. Every lib.* call keeps working unchanged, so scripts that already use ox_lib get the new look without touching their code.
| Component | What changes |
|---|---|
lib.notify | Tone per type, duration bar, entry/exit animations, and identical notifications grouped as ×2, ×3 |
lib.showTextUI | Accent key cap. "[E] - Open shop" becomes a key cap plus text automatically. Optional title line |
lib.progressBar | Optional icon, steps (named phases), description and a cancel hint with canCancel |
lib.progressCircle | Thin ring with percentage |
lib.registerContext | Icon boxes, accent hover and a metadata card |
lib.registerMenu | Accent selection, side description panel, key hints and a position counter |
lib.registerRadial | Honeycomb of hexagons with Exit/Back in the centre, 6 items per page |
lib.alertDialog / lib.inputDialog | Restyled dialogs and every field type |
lib.skillCheck | Glowing zone and a round indicator |
| Sounds | Synthesised hover, click, notification, success and error sounds (no audio files). On by default |
| Christmas theme | Snowfall, snow on panels, candy-cane bars and pine-green glow. Turns on by itself from 1 Dec to 6 Jan |
- 3 new minigames: lockpick, memory hack and wire hack (
lib.lockpick,lib.memoryHack,lib.wireHack). - `/uiconfig` admin panel to change the look of the whole server in game, with a live preview.
- 6 languages: English, Spanish, Portuguese (PT and BR), French and German.
Requirements
| Requirement | What for |
|---|---|
| Server build 7290 or newer | Required by ox_lib 3.32.3, which it's based on |
| OneSync | Required by ox_lib |
| No framework | Works the same with ESX, QBCore, Qbox or standalone: it's the library your scripts already use |
@ox_lib/init.lua, exports.ox_lib). Don't run both at once.Installation
- Remove your current ox_lib Stop the resource and delete or move its folder.
- Drop in the kit folder Copy the
ox_libfolder from the download into your resources. Keep the name `ox_lib`. - Check the order in server.cfg
ox_libmust start before any resource that uses it.ensure ox_lib # después: tu framework, inventario y el resto de scripts
- Adjust config.lua (optional) Language, admin group and default look.
- Restart the server The
web/buildfolder is already built. You only need to rebuild if you change the interface.
/uiconfig panel
Staff in UIKitConfig.AdminAce (default group.admin) open `/uiconfig` in game and change, for the whole server:
- Accent colour (presets or any hex), scale (80–130 %), gradients and animations.
- Position of notifications, text UI and progress bar.
- Grouping of duplicate notifications.
- UI sounds and volume, with a test button for each sound.
- Themes: built-in themes, seasonal auto-activation and up to 3 custom themes saved from the current look.
Changes preview live while the panel is open and apply to every player the moment you save. They're stored in the server KVP, so they survive restarts. Reset returns to the config.lua defaults.
add_ace group.mod command.uiconfig allow
/ox_lib. Now staff set it for everyone in /uiconfig. Scripts can still pass position to lib.notify for a single notification.Configuration
Everything lives in config.lua. It's the starting point: whatever staff save in /uiconfig overrides it.
UIKitConfig = {
Locale = 'en', -- 'en', 'es', 'pt', 'pt-br', 'fr', 'de'
AllowPlayerLocale = false, -- true: each player picks a language with /ox_lib
AdminAce = 'group.admin',
Command = 'uiconfig',
MaxCustomThemes = 3,
Defaults = {
theme = 'default',
accent = '#ff3b3b',
scale = 100, -- 80 to 130 (%). 110–120 for 1440p, 130 for 4K
gradients = true,
animations = true,
notifyPosition = 'top-right',
textUiPosition = 'right-center',
progressPosition = 'bottom',
groupNotifications = true,
sounds = true,
volume = 40,
autoSchedule = true, -- seasonal themes turn on by date
},
Themes = { ... },
}Adding a theme: copy an entry in Themes. schedule is the MM-DD range in which it turns on by itself.
{
id = 'halloween',
label = 'Halloween',
accent = '#ff7a1a',
secondary = '#7c3aed',
schedule = { from = '10-20', to = '11-02' },
},New functions
All of them return true on success and false on failure or when the player presses Esc.
-- Ganzúa / Lockpick: Space when each pin is in the marked zone local ok = lib.lockpick({ pins = 5, picks = 3, difficulty = 'medium' }) -- Memory hack: watch the sequence, then click the same cells in order local ok = lib.memoryHack({ grid = 4, rounds = 5, length = 3, time = 10, subtitle = 'Fleeca · Great Ocean Hwy' }) -- Wire hack: drag each wire to the terminal of the same colour local ok = lib.wireHack({ wires = 4, time = 12 }) lib.cancelMinigame() lib.minigameActive()
Languages
The kit's new strings are under "mono" in locales/*.json, in English, Spanish, Portuguese (PT and BR), French and German. Any other locale falls back to English for those strings. To translate, copy the "mono" block from locales/en.json into your locale file.
Editing the interface
Only needed if you edit web/src. The full source code is included.
cd web bun install bun run build
Licence
ox_lib is © Overextended, licensed under LGPL-3.0-or-later. FiveM UI Kit is a modified version and is distributed under the same licence: the full source is included, the original copyright notices are kept and the changes are listed in CHANGES-UIKIT.md. Original project: github.com/communityox/ox_lib.
The Geist and Geist Mono fonts are © The Geist Project Authors, under the SIL Open Font License 1.1.
Editable files
| File | What for |
|---|---|
config.lua | Language, admin group, command, default look and themes. |
locales/ | Texts in 6 languages (the kit's strings are in the "mono" block). |
web/src/ | Interface source (React). Build with bun run build. |
FAQ
Do I have to change my scripts?
No. It replaces your ox_lib and every lib.* call works the same, so your scripts get the new look on their own. The folder must still be named ox_lib.
Can I change the colour?
Yes. With /uiconfig staff change the accent colour, scale, positions and sounds for the whole server in game, with a live preview.
Do I get updates?
Yes, for free. New versions appear in your Keymaster and we announce them on Discord.
What if something doesn't work?
Open a ticket on our Discord with the console error and we'll help you.