Smooth Scroll
Smooth Scroll: Smooth inertial scrolling wrapper with frame-rate sync. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Smooth Scroll
npx motion-ui-skill add smooth-scrollComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxlenisreacttailwind-merge
Source files
Smooth Scroll
Component from Motion UI: smooth-scroll
Install
npx motion-ui-skill add smooth-scroll
Dependencies
clsxlenisreacttailwind-merge
Usage
"use client";
import { SmoothScroll as SmoothScroll } from "@/components/craft/smooth-scroll";
export function Example() {
return (
<div className="p-6">
<SmoothScroll />
</div>
);
}