Scroll Area
FREEScroll container with slim theme-colored scrollbars and optional edge fades.
Installation
Terminal
npx @bloxa/cli add scroll-area
# or: npx shadcn@latest add @bloxa/scroll-areaPackages installed automatically: radix-ui
Examples
Vertical and horizontal
API reference
Every component also accepts the props of the element it renders.
ScrollArea
| Prop | Type | Default | Description |
|---|---|---|---|
| orientation | "vertical" | "horizontal" | "both" | "vertical" | Scroll direction. |
| fade | boolean | false | Fade the edges. |
| type | "hover" | "scroll" | "auto" | "always" | "hover" | When scrollbars show. |