Craze ox_inventory redesign
OX Inventory Redesign Documentation
OX Inventory Redesign is a standalone FiveM UI overhaul for ox_inventory that adds a GTA-style radial menu, modern blue design theme, and smooth animations. It works with ESX, QBCore, and Standalone – no framework dependency required (only ox_inventory and ox_lib).
Overview
GTA-style radial menu for quick hotbar access (slots 1-5) with mouse-based selection
Simple flow: Press TAB → radial menu opens → hover/click item → item equips
Modern blue design unified across all UI elements (buttons, inputs, tooltips, menus)
Persistent styles with automatic CSS injection system
Framework independent – works with any FiveM server setup
Key Features
✔ ESX / QBCore / Standalone compatible – Works with any framework or standalone setup
✔ GTA-style radial menu – Interactive circular menu for hotbar items (slots 1-5)
✔ Hold-to-use system – Hold TAB to open, release on item to equip, or click to use
✔ ESC support – Press ESC to close radial menu at any time
✔ Modern blue theme – Unified professional blue color scheme (#50A0FF) for all UI elements
✔ Smooth animations – Fluid transitions and hover effects throughout the interface
✔ Fully redesigned UI – All buttons, inputs, tooltips, context menus, and weight bars overhauled
✔ Style injection system – Automatic CSS injection ensures styles apply even if files don't load properly
✔ Fully configurable – Easy to customize colors, sizes, and animations via CSS
✔ Optimized – Lightweight and production-ready, minimal performance impact
Quick Start
Installation
Create a backup of your current
ox_inventoryfolderCopy files to your
ox_inventorydirectory:Copy
web/radial-menu-standalone.html→ox_inventory/web/Copy
web/inventory-redesign.css→ox_inventory/web/Copy
web/inventory-redesign-inject.js→ox_inventory/web/Replace
web/build/index.html→ox_inventory/web/build/index.html
Patch client.lua:
Open
ox_inventory/client.luaFind the line:
local invHotkeys = falseInsert the complete code from
client_patch.luaafter that line
Update fxmanifest.lua:
Open
ox_inventory/fxmanifest.luaAdd to
files {}section:
Restart resource:
Installation Time: ~5 minutes
Basic Usage
Radial Menu (Hotbar):
Press TAB to open radial menu with first 5 inventory slots
Mouse hover over items to select
Click or release TAB on item to equip/use
Press ESC or TAB again to close menu
Main Inventory:
Press F2 to open redesigned inventory with blue theme
All buttons, inputs, and menus use the new design
Configuration
Edit CSS files to customize all visual settings.
Colors
Edit web/inventory-redesign.css to change color scheme:
Radial Menu Size
Edit web/radial-menu-standalone.html to change menu dimensions:
Animation Speed
Edit web/inventory-redesign.css to adjust transitions:
Border Radius
Edit web/inventory-redesign.css to change corner rounding:
How It Works
Radial Menu Logic
Player presses TAB key
Script checks if player has items in slots 1-5
If items exist → radial menu opens via NUI
Player hovers mouse over items to select
On click or TAB release → item is equipped via
useSlot()functionMenu closes automatically after item usage
Style System
CSS File:
inventory-redesign.csscontains all style definitionsHTML Integration:
index.htmlloads CSS via<link>tagJavaScript Injection:
inventory-redesign-inject.jsensures styles apply even if CSS file fails to loadIframe System: Radial menu runs in separate iframe for isolation
NUI Communication: Lua ↔ JavaScript message passing for menu control
Persistence
Styles persist across inventory opens/closes
Radial menu state resets on each open
Player settings (if any) could be saved via KVP (future feature)
File Structure
After Installation in ox_inventory:
Open Source Version
All files
✅ Fully open and editable
All files included:
client_patch.lua– Radial menu Lua coderadial-menu-standalone.html– Radial menu HTML/JSinventory-redesign.css– Main stylesheetinventory-redesign-inject.js– Style injection scriptindex.html– Modified main UIfxmanifest_example.lua– Manifest exampleComplete documentation
Troubleshooting
Styles are not applied
Solution:
Check if all files are listed in
fxmanifest.luafiles {}sectionClear browser cache (Ctrl+F5 in-game)
Check browser console (F12) for errors
Verify files are in correct locations
Restart resource completely
Radial menu does not open
Solution:
Check if
client_patch.luacode is correctly inserted inclient.luaVerify code is placed after
local invHotkeys = falseCheck F8 console for Lua errors
Verify keybind is configured (default: TAB)
Ensure
radial-menu-standalone.htmlis infiles {}sectionCheck if items are in slots 1-5 (menu only shows if items exist)
Menu opens but items don't equip
Solution:
Check F8 console for
useSloterrorsVerify NUI callbacks are registered correctly
Check if hotkeys 1-5 are blocked by other scripts
Ensure
RegisterNUICallback('radialMenu:useItem')is in code
Double styles or conflicts
Solution:
Ensure only ONE CSS file is loaded
Check if other addons override styles
Use browser DevTools (F12) to find conflicts
Verify CSS file path in
index.htmlis correct
Icons not displaying in radial menu
Solution:
This is normal during drag & drop (intended behavior)
Icons should be visible in normal inventory (F2)
If not, check browser console for image loading errors
Verify
background-imageCSS is not overridden
Menu stays open after item usage
Solution:
Check if
closeRadialMenu()is called afteruseSlot()Verify ESC/TAB close handlers are working
Check NUI callback
closeRadialMenuis registeredRestart resource to reset state
Requirements
ox_inventory (v2.43.5 or higher) – Required
ox_lib – Required dependency
FiveM Server – Latest build recommended
Design Features
Blue Color Palette – Unified blue design (#50A0FF)
Glow Effects – Subtle glow effects for interactive elements
Smooth Transitions – Fluid animations (0.25s cubic-bezier)
Modern Borders – Rounded corners (8px border-radius)
Hover States – All interactive elements have hover effects
Responsive Design – Works on all screen resolutions
Radial Menu Features
Displays first 5 inventory slots
Mouse-based selection with visual feedback
Click or release to use items
Smooth open/close animations
Transparent background with centered menu
Item icons and labels displayed
Real-time slot updates
Support
Discord: [Discord]
Tebex: https://codecraze-development.tebex.io
For Support:
Check this documentation first
Check browser console (F12) for errors
Check F8 console for Lua errors
Provide ox_inventory version
Provide FiveM server version
Include error messages and screenshots
Note: This is a UI redesign for ox_inventory. You must own ox_inventory to use this product. This product only includes the redesign files, not ox_inventory itself.
Last updated