AI product

Chat composer

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

Chat composer

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
@halftone-native/attachment-chip, @halftone-native/icon, @halftone-native/lib-haptics, @halftone-native/lib-utils, @halftone-native/text
Also searched as
prompt, input, message box, attachments, upload, file

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