L
LocalMode

Scroll To Bottom Button · LocalMode

A floating scroll-to-bottom affordance tied to a chat container's scroll state — appears when the user scrolls up, scrolls to and pins the latest content. Pairs with a ScrollAnchor pin element. Data source: useChat.

npx shadcn@latest add https://localmode.ai/r/ui/conversation/scroll-to-bottom-button.json
Preview Scroll To Bottom Button on LocalMode's site (opens in a new tab)
Loading the source for ui/conversation/scroll-to-bottom-button…

ui/conversation/scroll-to-bottom-button