Scroll area
Custom scrollbars for dense panels and sidebars.
Preview
Interactive examples use the same @flux/ui build as production. Toggle theme in the header for light and dark. Motion tokens and layout patterns live under Motion and Patterns in the sidebar.
Live preview
Vertical (default ScrollArea)
Horizontal (ScrollBar orientation)
Installation
Add the package to your app (full Next.js + Tailwind steps on Installation):
npm install @payglocal_ui/flux-uiUsage
Import
import { ScrollArea } from "@payglocal_ui/flux-ui";Example
<ScrollArea className="h-48 rounded-xl border border-border p-3">
…long content…
</ScrollArea>