Skip to content

InfoPage

R41z0r edited this page Jun 13, 2026 · 3 revisions

Contents

Info pages render static/help content instead of settings controls. Use layout = "info".

{
  title = "Section title",
  entries = {
    -- entries
  },
}
Type Fields Description
text text Paragraph or bullet text.
command commands, usage, desc, note Slash command display.
button text, width, onClick Action button.
spacer height Vertical spacing.
app:RegisterPage({
  id = "help.quick-reference",
  category = "help",
  title = "Quick Reference",
  layout = "info",
  content = {
    {
      title = "Slash Commands",
      entries = {
        { type = "text", text = "Use these commands in chat." },
        { type = "command", commands = { "/myaddon" }, desc = "Open settings." },
        { type = "spacer", height = 8 },
        {
          type = "button",
          text = "Copy URL",
          width = 180,
          onClick = function()
            MyAddon.ShowCopyURLPopup()
          end,
        },
      },
    },
  },
})

Wiki
  • Home
  • Architecture
  • Vendoring
  • Quick Start
  • Field Glossary
  • Troubleshooting
  • Validation

Reference
  ⚬ Config API
  ⚬ UI API
  ⚬ Elements
  ⚬ Examples

Elements
  Structure
   • Category
   • Page
   • Group
   • Dashboard
   • InfoPage
   • Custom
  Controls
   • Toggle
   • CheckboxDropdown
   • Dropdown
   • MultiDropdown
   • SoundDropdown
   • Input
   • Slider
   • Button
  Advanced
   • ColorPicker
   • ColorPalette
   • ColorOverrides
   • ReorderList
   • Expandable
   • Notes

Examples
  Start
   • Minimal Addon
   • Complete Settings Center
   • Wrapper Bridge Pattern
  Data and Behavior
   • Dependent Controls
   • Nested Database Values
   • Dynamic Dropdowns
   • Runtime Refresh
   • Search and New Badges
   • Custom Hosted Editors
  Polish
   • Support Links
   • Theme Colors
   • Theme Borders

Clone this wiki locally