@threadplane/a2uiInterfacev0.3.4

A2uiComponentBase

Shared identity, catalog override, layout weight, and accessibility fields for an A2UI component.

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

Declaration

export interface A2uiComponentBase  {
  accessibility?: Record<string, unknown>;
  catalogId?: string;
  component: string;
  id: string;
  weight?: number;
}

Members

accessibility

Accessibility attributes (spec AccessibilityAttributes).

accessibility?: Record<string, unknown>;

catalogId

Overrides the surface's default catalog for this component.

catalogId?: string;

component

component: string;

id

id: string;

weight

Flex-grow-like weight; only valid as a direct child of Row/Column.

weight?: number;