Dev Design Library

Back to Top

A floating scroll-to-top button that fades in past a threshold, with an optional progress ring showing how far down the page you are.

Back to Top preview
Library
ReactFrame
Framework
React
Type
component
License
MIT
Dependencies
clsx, motion, tailwind-merge
Install
npx shadcn@latest add https://reactframe.com/r/back-to-top.json
Files
  • registry/new-york/back-to-top/back-to-top.tsx
Source
https://github.com/AhmetLoca/reactframe-public

Categories

More from ReactFrame