--- title: "AssistantMessage" description: "A left-aligned assistant chat bubble that renders Markdown content, with an optional typing indicator and timestamp." --- ## Overview `AssistantMessage` renders a left-aligned chat bubble for assistant turns. Content is rendered as Markdown through [`CopilotMarkdown`](/reference/react-native/components/CopilotMarkdown). When `isLoading` is set, it shows an animated typing indicator instead of content. Useful when building a custom chat UI on top of the headless [`CopilotChat`](/reference/react-native/components/CopilotChat). ## Import ```tsx import { AssistantMessage } from "@copilotkit/react-native/components"; ``` ## Props Markdown content to render inside the bubble. When `true`, shows a typing indicator instead of the content. Optional timestamp displayed below the bubble, formatted as 12-hour time. Optional style override for the outer container. ## Usage ```tsx import { AssistantMessage } from "@copilotkit/react-native/components"; ; // While the agent is responding: ; ``` ## Related - [`UserMessage`](/reference/react-native/components/UserMessage): the user-side counterpart - [`CopilotMarkdown`](/reference/react-native/components/CopilotMarkdown): the Markdown renderer used internally