WarUI

Headless Renderer Adapter

GRID-A26-F18P2beyond-baselinePlanned

A documented adapter contract that lets a custom renderer, such as a canvas, mobile list or template engine, attach to a headless instance. The renderer receives virtualization windows and focus helpers.

Planned. This page shows the specification from issue #206. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

A headless instance with a toggle between a card-list renderer and a table renderer.

Expected behavior

Both renderers reflect the same state. Scrolling the card list requests new viewport rows.

Planned API surface

rendererAdaptergetViewportRowssetViewportfocusHelpersariaPropsFor

Acceptance criteria

  • ariaPropsFor returns the correct roles and indices (pending)
  • Viewport requests return only the requested window (pending)
  • Switching the renderer preserves state (pending)