AI product

Chat composer

Available forNativeWeb

the arrow sends · busy turns Send into Stop · onAttach turns on attachments (paperclip, chips)

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

Usage

Pass onAttach only when the assistant can use files; it returns the files to attach (mock ones in a prototype). Files can be reviewed and removed before sending.

API

<ChatComposer onSend={(text, files) => …} busy? onStop? placeholder? onAttach? maxFiles? />

Get it

Already in every copy of the native kit:

import { ChatComposer } from '@/components/kit/chat-composer';

Details

Exports
ChatComposer
Packages
lucide-react-native@^1.21.0
Installs with
@kit-native/attachment-chip, @kit-native/icon, @kit-native/lib-haptics, @kit-native/lib-utils, @kit-native/text
Also searched as
prompt, input, message box, attachments, upload, file

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