Components
Scroll Area
Augments native scroll functionality for custom, cross-browser styling.
Installation
pnpm dlx shadcn@latest add https://reui.io/r/scroll-area.json
Examples
Default
Loading
API Reference
This component is built using Radix UI Scroll Area primitives. For detailed information, please visit the full API reference.
ScrollArea
This component is based on the ScrollArea.Root primitive and includes the following custom props:
Prop | Type | Default |
---|---|---|
viewportRef | ||
viewportClassName | ||
className |
ScrollBar
This component is based on the ScrollArea.Scrollbar primitive and includes the following custom props:
Prop | Type | Default |
---|---|---|
orientation | ||
className |