# Composer

<!-- https://uncage.vercel.app/docs/api/react-ui/functions/composer/ -->

```ts
function Composer(): Element;
```

Defined in: react-ui/src/components/Composer.tsx:70

Claude Code–style prompt box pinned under the conversation: a running-sessions chip above it;
the textarea, pending attachments and a toolbar (attach, model, effort, permission mode; run
indicator, dictation, Send/Stop) inside it. Enter sends, Shift+Enter inserts a newline, Enter
while an IME is composing is ignored. Files attach via the picker, drag-and-drop or paste.
Disabled (with a hint) when the runtime is unavailable, while a new session is being created,
or with a banner offering a new session when the session is read-only. In connected mode it is
also disabled while the conversation's computer is offline (with a reconnect hint) or none is
connected.

## Returns

`Element`
