GZ UI Library — A premium themed menu library for FiveM.
Three drop-in widgets (Context, Input, Alert) with a clean cyber-green theme. I built this because I was tired of the default ox_lib dialogs looking the same on every server. Same brand, same feel as the rest of the GZ Scripts catalog.
Framework-agnostic. Drop it in, call the exports from your own scripts, done.
👀 See it in action

🧩 What's inside
- Context menu — sections, icons, descriptions, disabled options with custom reasons
- Input dialog — multiple fields (text, number, select, checkbox), validation, default values
- Alert dialog — title, message, confirm/cancel buttons with custom labels
🛠️ How to use it
You call it from your own scripts via exports, just like you'd call ox_lib:
exports.gz_ui:OpenContext(menu)exports.gz_ui:Input(options)— returns the input values directly (synchronous)exports.gz_ui:Alert(options)— returns the user choice directly
Important: gz_ui doesn't auto-replace existing menus in other scripts. You need to call the exports explicitly from the scripts where you want themed menus. If a script you use was written against lib.inputDialog, replace those calls with exports.gz_ui:Input to get the GZ theme.
✨ Features
- Synchronous API — values returned directly, no awkward callback ping-pong
- FontAwesome icons + custom image support
- Auto-fallback to ox_lib dialogs if needed (defensive)
- Clean dark cyber-green theme matching the GZ Scripts identity
- Framework-agnostic — works on QBCore, QBox, ESX, standalone
📦 Dependencies
Required: ox_lib
💎 Bundle deal
Get this alongside GZ Beach Detector for a bundled discount.
🔒 This is the Escrow version. CSS theme and config are editable. Core widget logic is encrypted. For full source code access, get the Open Source version instead.
💬 Support
Discord: Join the GZ Scripts community
Bug reports, suggestions, customer snippets forum — all on Discord. I read every message.
I'm one dev building scripts on the side. gz_ui exists because I wanted my own scripts to feel consistent. If you have feedback, tell me on Discord. That's how the next versions get better.
— GrapsZ