Conversation core

Prompt input

Use when people start work by typing a request, and need to attach a file, pick a model or stop an answer from the same place.

The composer: attachments, model pill, and a stop-while-streaming state.

Part of Conversation core. The first thing you build: a place to ask and a place to read the answer. Every AI product ships these surfaces, so users compare yours with the best they have used. The work here is in the details: what the composer does mid-answer, how a reply arrives, what you can do with it afterwards.

Do

Don't

States

Usage

import { PromptInputPattern } from "./halaska-kit";

<PromptInputPattern />

Built from

Stack, Thinking Indicator, Typography

Related patterns

Command search, Model & context

Halaska UI · Components · Patterns · Screens · Install