"add back-to-top" — a floating round button with an up-chevron, the kind that only appears once you have scrolled.
npx shadcn@latest add @motion-menu/back-top-affordance
—
back-top-affordance