When to use it
Update statusLabel with the status, such as "Writing…" then "Done". Put message actions in actions and source citations in sources.
Show an assistant reply with one concise status announcement.
Native example
Update statusLabel with the status, such as "Writing…" then "Done". Put message actions in actions and source citations in sources.

Captured exampleExpo web renderer
Open interactive previewimport * as Clipboard from 'expo-clipboard'
import {
LumenMessageActions,
LumenSourceCitation,
LumenStreamMessage,
type LumenStreamStatus
} from '@santi020k/lumen-react-native'
import { View } from 'react-native'
export function AssistantReply({ status, text }: { status: LumenStreamStatus; text: string }) {
return (
<LumenStreamMessage
actions={
<LumenMessageActions copyValue={text} messageId="answer-1" onCopy={({ value }) => Clipboard.setStringAsync(value)} />
}
sources={
<View style={{ flexDirection: 'row', flexWrap: 'wrap', gap: 8 }}>
<LumenSourceCitation href="https://lumen.santi020k.com/docs" label="Lumen docs" />
</View>
}
status={status}
statusLabel={status === 'streaming' ? 'Writing…' : 'Done'}
>
{text}
</LumenStreamMessage>
)
}Reference
The primary shared and platform-specific options exposed by LumenStreamMessage.
| API | Values or type | Default | Description |
|---|---|---|---|
| status / statusLabel / label | stream status / announced text / accessible name | idle / required / Assistant | Update statusLabel with the status, such as "Writing…" then "Done". |
Native behavior
Update statusLabel with the status, such as "Writing…" then "Done". Put message actions in actions and source citations in sources.
Announces the status label once per change; streamed text never announces.
Shared component