Patent attributes
A declarative cross-platform framework for interactive user interfaces is described herein. Commands may define a virtual surface for display in a plurality of streaming applications executing across a plurality of computing platforms. The commands may be expressed in a declarative format that allows the virtual surface to be defined without injecting code into the plurality of streaming applications. The commands may indicate a first position within the virtual surface for display of a display item, and the first position may be expressed based on relative amounts of positional attributes that are relative to total amounts of the positional attributes for the virtual surface in its entirety. The streaming applications may host framework runtime components for respective computing platforms on which the streaming applications execute. The framework runtime components may use the commands to generate respective rendering instructions for rendering the virtual surface on their respective computing platforms.