WarUI

Image column type

GRID-A07-F10P2baselinePlanned

`type: 'image'` renders thumbnails from a URL with required alt text. It supports lazy loading, a fixed aspect ratio and a fallback when an image fails to load. Image sizing never causes layout shift in virtualized rows.

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

Live example

A product grid with an image column of 40x40 thumbnails. Two rows have broken URLs.

Expected behavior

Thumbnails resize without row jumps. Broken images show the fallback. With lazy loading on, offscreen images load only when scrolled into view.

Planned API surface

type'image'srcaltimageSizeobjectFitfallbackSrcloadingshape

Acceptance criteria

  • The alt text comes from an `alt` field or function. An empty alt is allowed only when `decorative: true`. (pending)
  • Image dimensions are reserved before load, giving zero cumulative layout shift. (pending)
  • A failed load swaps to fallbackSrc once with no retry loop. (pending)
  • The image src passes the same protocol allowlist as link columns. (pending)