Skip to content
Screen

Chat

Controlled chat shell that composes rendered turns and a provider-owned composer.

Composition

Rendered chat shell

  • <ChatBlock>
    • <ChatLayout>
      • <ChatThread>
        • children prop
          • rendered turns
        • composer prop
          • <ChatComposer />
        </ChatThread>
      </ChatLayout>
    </ChatBlock>

Installation

Registry command
See registry manifest

Usage

Library dependencies

Owned source

This template’s recipe and private support files. Public dependencies stay linked above.

Block recipesrc/registry/blocks/chat.tsx
src/registry/blocks/chat.tsx