# AssistantMessage

> A left-aligned assistant chat bubble that renders Markdown content, with an optional typing indicator and timestamp.

## Overview [#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 `true`, the bubble also shows an animated typing indicator below any content. Useful when building a custom chat UI on top of the headless [`CopilotChat`](/reference/react-native/components/CopilotChat). For the user side, see [`UserMessage`](/reference/react-native/components/UserMessage).

## Import [#import]

```tsx
import { AssistantMessage } from "@copilotkit/react-native/components";
```

## Props [#props]

<PropertyReference name="content" type="string" required>
  Markdown content to render inside the bubble.
</PropertyReference>

<PropertyReference name="isLoading" type="boolean" default="false">
  When `true`, shows a typing indicator below the content. When `content` is
  empty, the bubble shows only the indicator.
</PropertyReference>

<PropertyReference name="timestamp" type="Date">
  Optional timestamp displayed below the bubble, formatted as 12-hour time.
</PropertyReference>

<PropertyReference name="style" type="ViewStyle">
  Optional style override for the outer container.
</PropertyReference>

## Usage [#usage]

```tsx
import { AssistantMessage } from "@copilotkit/react-native/components";

<AssistantMessage content="Hello! How can I help?" timestamp={new Date()} />;

// While the agent is responding:
<AssistantMessage content="" isLoading />;
```
