Dev Design Library

Scroll To

Button that smooth-scrolls to a target (offset, selector or element) via the active SmoothScroll provider; reduced-motion jumps instantly.

Scroll To preview
Library
beUI
Framework
React
Type
component
License
MIT
Install
npx shadcn@latest add @beui/scroll-to
Files
  • components/motion/scroll-to.tsx
  • components/motion/smooth-scroll.tsx
  • lib/utils.ts
Source
https://github.com/starc007/ui-components

Categories

More from beUI