Floating scroll-to-bottom button that appears when the user scrolls away from the latest messages. It fades in as a compact icon button and expands to show a label when new messages arrive. ChatLayout renders this by default: pass a custom element to the scrollButton prop to override, or null to hide it entirely.
pnpm dlx shadcn@latest add "https://astryx.atmeta.com/shadcn/component-chat-layout-scroll-button.json"