@threadplane/a2uiInterfacev0.3.4

A2uiImage

Basic-catalog image component with a dynamic URL, description, and display options.

import type { A2uiImage } from '@threadplane/a2ui';

Declaration

export interface A2uiImage extends A2uiComponentBase  {
  component: 'Image';
  description?: DynamicString;
  fit?: 'contain' | 'cover' | 'fill' | 'none' | 'scaleDown';
  url: DynamicString;
  variant?: 'icon' | 'avatar' | 'smallFeature' | 'mediumFeature' | 'largeFeature' | 'header';
}

Members

component

component: 'Image';

description

description?: DynamicString;

fit

fit?: 'contain' | 'cover' | 'fill' | 'none' | 'scaleDown';

url

variant

variant?: 'icon' | 'avatar' | 'smallFeature' | 'mediumFeature' | 'largeFeature' | 'header';