Output & generative UI

Structured data

Use when the agent returns data in a schema and people need to read it without parsing JSON.

Schema output rendered as a readable card, raw JSON one toggle away.

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

Don't

States

Usage

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

<StructuredDataPattern />

Built from

Badge, Card, Separator, Stack, Typography

Related patterns

Artifact, Action receipt

Halaska UI · Components · Patterns · Screens · Install