Conversation
Keep live agent transcripts readable while respecting where someone has chosen to scroll.
Installation
Copy the command below and run it in your terminal.
Usage
Give Root a bounded height so Content can scroll. Bind follow when the surrounding interface needs to reflect whether new output is being followed.
Examples
Compose the viewport around an empty start or continuously arriving output.
Empty state
Follow live output
Following latest output
Scroll up to pause following. Append more output, then use the arrow to return to the latest step.
Anatomy
Conversation.Root - Manages transcript scrolling.
Conversation.Content - Contains conversation messages.
Conversation.Empty - Renders an empty conversation state.
Conversation.ScrollButton - Scrolls to the latest message.
await flags.disable('checkout.address-verification'); await metrics.waitForRecovery({ window: "10m" });