Skip to content

Repository files navigation

Lux

A World of Warcraft UI widget library providing a modern, dark-themed interface toolkit for addon developers.

Features

  • 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

Usage

Lux exposes a global Lux table. Depend on it in your addon's TOC:

## Dependencies: Lux

Creating an Options Panel

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")

Widgets

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)

Installation

Copy the Lux folder into your Interface/AddOns/ directory.

Author

fostot

About

WoW UI widget library - dark themed toolkit for addon development

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages