A World of Warcraft UI widget library providing a modern, dark-themed interface toolkit for addon developers.
- Dark futuristic color scheme with purple accents
- Modular widget system (Header, Label, Button, Checkbox, Slider, Dropdown, Spacer)
- Full options panel framework with sidebar navigation and tabbed pages
- LibSharedMedia integration for fonts and media
- Reusable backdrop and styling utilities
Lux exposes a global Lux table. Depend on it in your addon's TOC:
## Dependencies: Lux
local panel = Lux.Panel:CreateOptionsPanel({
name = "MyAddonOptions",
title = "My Addon",
})
panel:AddPage("general", "General", function(page)
local W = Lux.Widgets
page:AddWidget(W:Header(page, "SETTINGS"), 30)
page:AddWidget(W:Checkbox(page, "Enable Feature", myDB, "enabled"), 28)
page:RefreshLayout()
end)
panel:Open("general")| Widget | Function |
|---|---|
| Header | Lux.Widgets:Header(parent, text) |
| Label | Lux.Widgets:Label(parent, text, width) |
| Button | Lux.Widgets:Button(parent, text, width, height, onClick) |
| Checkbox | Lux.Widgets:Checkbox(parent, label, dbTable, dbKey, callback) |
| Slider | Lux.Widgets:Slider(parent, label, min, max, step, dbTable, dbKey, callback) |
| Dropdown | Lux.Widgets:Dropdown(parent, label, options, dbTable, dbKey, callback) |
| Spacer | Lux.Widgets:Spacer(parent, height) |
Copy the Lux folder into your Interface/AddOns/ directory.
fostot