Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commitdd348ac6c3

README.md

rightPanel

Right-docked panel. Root-only — must be the top-level widget of its registered screen.

Exports

  • rightPanel(children: { any }?, opts: RightPanelOpts?) -> any — build a right-docked panel widget. The module returns this function directly.

Types:

  • RightPanelOpts = { id: string?, classes: (string | { string })?, class: (string | { string })?, props: { [string]: any }?, style: { [string]: any }? }

Usage

local rightPanel = require("@builtin::modules.zui.widget.rightPanel")
rightPanel({ child1, child2 })

Notes

  • Root-only: must be the top-level widget of its registered screen. Nesting a rightPanel inside another container is unsupported.