Output & generative UI
Insight cards
Use when the agent has found a few things worth knowing in the data and each one needs a number and a chart to back it.
Paged agent insights with live charts.
Part of Output & generative UI. The stage where the response is a thing, not a paragraph: a document, a set of edits, a record, a chart. These patterns give that output a container the user can review, accept in part, and come back to later.
Do
- Lead with one sentence that states the finding and bolds the subject.
- Back it with two or three figures and one chart.
- Offer a next step from the insight.
Don't
- Don't show more than a handful. Page through them one at a time.
- Don't show a chart without a sentence that says what it means.
- Don't round away the numbers people will act on.
States
- Insight shown: One finding with its figures, coloured by direction, and a chart. A badge counts the insights.
- Paged: Moving to another page fades in the next finding and redraws the chart.
Usage
import { InsightCardsPattern } from "./halaska-kit";
<InsightCardsPattern />
Built from
Agent Glyph, Badge, Button, Card, Chart, Pagination, Separator, Stack, Typography
Related patterns
Halaska UI · Components · Patterns · Screens · Install