Scroll area
Scroll area: A native scroll container with thin overlay scrollbars and edge fades that appear only when content overflows. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.
Install Scroll area
npx motion-ui-skill add scroll-areaComponents install as source into your project. The interactive page also includes preview, code, documentation and install tabs.
Dependencies
clsxreacttailwind-merge
Source files
Scroll area
A native scroll container with thin overlay scrollbars and edge fades that appear only when content overflows.
Install
npx motion-ui-skill add scroll-area
Dependencies
clsxreacttailwind-merge
Usage
"use client";
import { ScrollArea as ScrollArea } from "@/components/motion/scroll-area";
export function Example() {
return (
<div className="p-6">
<ScrollArea />
</div>
);
}