Valora
API Reference@valora-ai/reactindexFunctions

ChatEntry

function ChatEntry(__namedParameters): Element;

Defined in: packages/react/src/components/chat/ChatEntry.tsx:34

Render a single transcript segment as a bubble. agent → Valora (left), user → You (right). Interim segments show a streaming cursor.

Parameters

ParameterType
__namedParametersChatEntryProps

Returns

Element

Example

// Basic — render one finalized transcript segment.
<ChatEntry entry={{ id: "1", role: "agent", text: "Hi", final: true, at: 0 }} />

// Advanced — render a transcript stream with interim bubbles.
function TranscriptList() {
  const entries = useTranscriptions();
  return (
    <VoiceRoom agent={agent}>
      {entries.map((entry) => (
        <ChatEntry key={entry.id} entry={entry} />
      ))}
    </VoiceRoom>
  );
}

On this page

Valora is local-first

No API key, no server — everything in this doc runs on-device.

Star on GitHub