Scroll Area
A custom-styled scrollable region, built on the Base UI `ScrollArea` primitive.
A custom-styled scrollable region, built on the Base UI ScrollArea primitive.
tsx
import { ScrollArea } from "@celestia-project/ui/primitive/scroll-area"
<ScrollArea className="h-36 rounded-md border p-4"> {/* long content */}</ScrollArea>ScrollBar with orientation="horizontal" adds a horizontal scrollbar.