Fabricator UI
Search documentation
Search pages, components, blocks, styles and colours.
Augments native scroll functionality for custom, cross-browser styling.
Installation
Usage
import { ScrollArea, ScrollBar } from "@/components/ui/scroll-area"<ScrollArea className="h-[200px] w-[350px] rounded-md border p-4">
Your scrollable content here.
</ScrollArea>Composition
Use the following composition to build a ScrollArea:
ScrollArea
└── ScrollBarHorizontal
Use ScrollBar with orientation="horizontal" for horizontal scrolling.
API Reference
See the Base UI Scroll Area documentation.