A2uiText
Basic-catalog text component with a dynamic string and optional typographic variant.
import type { A2uiText } from '@threadplane/a2ui';Declaration
export interface A2uiText extends A2uiComponentBase {
component: 'Text';
text: DynamicString;
variant?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'caption' | 'body';
}Members
component
component: 'Text';text
text: DynamicString;variant
variant?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'caption' | 'body';