MCPcopy
hub / github.com/vercel/chatbot / UIArtifact

Interface UIArtifact

components/artifact.tsx:40–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38export type ArtifactKind = (typeof artifactDefinitions)[number]['kind'];
39
40export interface UIArtifact {
41 title: string;
42 documentId: string;
43 kind: ArtifactKind;
44 content: string;
45 isVisible: boolean;
46 status: 'streaming' | 'idle';
47 boundingBox: {
48 top: number;
49 left: number;
50 width: number;
51 height: number;
52 };
53}
54
55function PureArtifact({
56 chatId,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…