Dev Design Library

Smooth Scroll

Smooth-scroll provider over Lenis with a useSmoothScroll hook exposing scroll offset, progress and velocity. Reduced-motion safe.

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

Categories

More from beUI