ZUI

Search documentation

Find a page or a heading.

Chat Input

A one-line chat composer that turns @mentions and /commands into pills and hands the message to the host as a payload.

tsx

Installation

bash

Usage

tsx
tsx

Enter sends and clears the input, and Shift+Enter starts a new line. The payload carries the flattened text, the committed tokens grouped by kind, and the one-block doc that ChatMessageView draws, in chat-message-view.tsx.

API reference

ChatInput

Give triggers a stable array: the editor is built from it once, on mount.