AI product

Chat message

Available forNativeWeb

one turn · user = bubble on the right, assistant = plain text on the left

The native kit's real component, live in its web build at phone width. Follows this site's theme.

Usage

Assistant turns are documents, not bubbles: long answers stay readable. A string child is wrapped in Text for you.

API

<ChatMessage role="user|assistant" initials?>{content}</ChatMessage>

Get it

Already in every copy of the native kit:

import { ChatMessage } from '@/components/kit/chat-message';

Details

Exports
ChatMessage
Packages
lucide-react-native@^1.21.0
Installs with
@kit-native/avatar, @kit-native/icon, @kit-native/lib-utils, @kit-native/text
Also searched as
chat, conversation, turn

Agents: the whole registry is at /llms.txt.