Dev Design Library

Back To Top

Fills its ring as you read, and when you press it the arrow lifts off while the page glides back up.

Back To Top preview
Library
UI Lab
Framework
React
Type
component
License
MIT
Install
npx shadcn@latest add https://lab.xevrion.dev/r/back-to-top.json
Files
  • src/lab/components/back-to-top.tsx
  • src/lib/use-reduced-motion.ts
  • src/lab/preview-play.ts
  • src/lib/cn.ts
Source
https://github.com/xevrion/ui-lab

Categories

More from UI Lab