# Streaming Answer

A configurable, accessible streaming answer surface for AI product workflows.

## Installation

```bash
npx shadcn@latest add https://amro-ui.vercel.app/r/streaming-answer.json
```

[Registry JSON](https://amro-ui.vercel.app/r/streaming-answer.json)

## Preview

```tsx
import { StreamingAnswer } from "@amro-ui/react";

export function Preview() {
  return (
    <div className="grid min-h-72 w-full place-items-center rounded-xl border bg-background p-6 sm:p-10">
      <StreamingAnswer content="Synthesising the answer from approved knowledge…" elapsedSeconds={4} />
    </div>
  );
}
```


## Source

### ui/streaming-answer.tsx

```tsx
"use client";

import "@/components/amro/amro-ui.css";

export { StreamingAnswer } from "@/components/amro/components/conversational";
export type { StreamingAnswerProps } from "@/components/amro/components/conversational";
```



## Usage

A configurable, accessible streaming answer surface for AI product workflows.

### Package

```tsx
import { StreamingAnswer } from "@amro-ui/react";

<StreamingAnswer />
```

### shadcn copy

```tsx
import { StreamingAnswer } from "@/components/ui/streaming-answer";

<StreamingAnswer />
```

