Conversation core

Streaming answer

Use when an answer takes a few seconds to arrive and users need to see progress, where it came from and what to ask next.

Streamed reply with inline sources and follow-ups.

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 { StreamingAnswerPattern } from "./halaska-kit";

<StreamingAnswerPattern
  segments={[
    { t: "Lumen Labs has 3 open tickets, all about invoice exports." },
    { chip: "intercom.com" },
  ]}
  sources={[{ name: "Intercom", domain: "intercom.com" }]}
  followups={["Who owns the Lumen Labs account?"]}
  onFollowup={ask}
/>

StreamingAnswerPattern props

Built from

Agent Glyph, Label, Separator, Stack, Thinking Indicator, Typography

Related patterns

Inline citations, Thinking

Halaska UI · Components · Patterns · Screens · Install