For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt, and this page is available as Markdown at /next/api/genui/openui/core/interfaces/ElementNode.md.
Lynx
  • English
  • Interface: ElementNode

    A fully resolved component node from the parser.

    The parser converts openui-lang text into a tree of these nodes. Each node represents one component invocation with its positional arguments mapped into named props via the library's Zod key order.

    Properties

    hasDynamicProps?

    optional hasDynamicProps?: boolean

    False when all props are static literals — evaluation can be skipped. Undefined is treated as true (dynamic) for backward compatibility.


    partial

    partial: boolean

    True when the parser hasn't received all tokens for this node yet (streaming in progress).


    props

    props: Record<string, unknown>

    Named props produced by positional-to-named mapping in the parser.


    statementId?

    optional statementId?: string

    Source variable name (e.g. "header" from header = TextContent(...)). Undefined for inline components.


    type

    type: "element"


    typeName

    typeName: string

    Component name as defined in the library (e.g. "Table", "BarChart").

    Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.