VISUALLIdesign system

App

ChatTurn

One turn of conversation, kept deliberately small — the map is the answer.

Playground

Change the props, switch theme in the header, try Tablet and Phone widths, then copy the code.

Playground

Examples

Live previewOpen ↗

Props

export interface ChatTurnProps {
  role: 'user' | 'visualli';
  /** A transient hint (not saved to history): check mark, optional action and ✕. */ tip?: boolean;
  action?: { label: string;
  icon?: IconName;
  onClick: () => void };
  onDismiss?: () => void;
  busy?: boolean;
  /** What Visualli is doing while busy, e.g. "Mapping Brood…" (default "Growing your map…"). */ busyLabel?: string;
  change?: string;
  onUndo?: () => void;
  children?: ReactNode
}

Use

import { ChatTurn } from '@visualli/design-system/components';

Source: components/src/ · Guidelines: components/catalog/ChatTurn/README.md