A chat scroll container that anchors turns, opens saved transcripts, follows streamed responses, loads history without jumping, and jumps to any message.
Preview
Code
Question 1: how does the scroller keep up with new messages?
It stays pinned to the bottom while you're there, and shows a button to jump back once you scroll up.
Question 2: how does the scroller keep up with new messages?
It stays pinned to the bottom while you're there, and shows a button to jump back once you scroll up.
Question 3: how does the scroller keep up with new messages?
It stays pinned to the bottom while you're there, and shows a button to jump back once you scroll up.
Question 4: how does the scroller keep up with new messages?
It stays pinned to the bottom while you're there, and shows a button to jump back once you scroll up.
Question 5: how does the scroller keep up with new messages?
It stays pinned to the bottom while you're there, and shows a button to jump back once you scroll up.
Question 6: how does the scroller keep up with new messages?
It stays pinned to the bottom while you're there, and shows a button to jump back once you scroll up.
Installation
Every component ships in @astrawind/ui. If you haven't set it up, follow the installation guide, then import the component: