Core Docs

RealmUI Widgets and Nodes

Currently supported UiNodeKind values:

  • Structure/layout:
    • container, window, panel, split-pane, area, frame
    • scroll-area, grid, popup, tooltip, modal, resize, scene
  • Drawing:
    • canvas
  • Text/action:
    • text, rich-text, link, hyperlink, button
  • Selection/state:
    • checkbox, radio, selectable-label, toggle
  • Value:
    • slider, drag-value, progress-bar, combo-box, menu-button
    • collapsing-header, spinner
  • Input:
    • text-edit, input
  • Image/viewport:
    • image, image-button, widget-realm-viewport
  • Helpers:
    • separator, spacer

Common Properties

UiNode includes:

  • display: removed from layout/hit-test when false.
  • visible: invisible and non-interactive when false.
  • opacity: opacity multiplier (0..1).
  • zIndex: ordering in document.
  • tooltip and contextMenu.
  • anim: declarative animations (opacity, translateY).

Sizes

  • UiLength: auto, fill, px.
  • UiSize: { width, height }.

Node Props

Complete payload reference per node is in:

  • src/core/ui/types.rs:
    • UiNodeProps
    • UiLayout, UiPadding, UiColor, UiStroke
    • UiPaintOp (for canvas)
Documentation Vulfram Core