Message scroller
v0.64.0, changelogBetaA conversation's scrolling log that follows the newest turn at the bottom, offers Jump to latest, holds still when older turns load, and reads each complete turn once.
API reference
Generated from the types. Every part also takes className.
MessageScroller
- children
ReactNodeThe turns, oldest first: Message elements (or your own rows, each a direct child).- empty
ReactNodeShown when there is no turn yet: an EmptyState, suggested prompts.- hasEarlier
boolean = falseOlder turns exist: shows Load earlier at the top.- loadingEarlier
boolean = false- onLoadEarlier
() => voidPut the older turns in front ofchildren; the view stays where it is.- locale
stringFormats the count of new turns.- labels
Partial<MessageScrollerLabels>- contentClassName
stringOn the list of turns: its gap and padding.