Scroll Area
Augments native scroll functionality for custom cross-browser styling.
Installation
Make sure that namespace is set in your component.json file. Namespace docs: Learn more about namespaces
pnpm dlx shadcn@latest add @aura/scroll-areaProps
ScrollArea
| Prop | Type | Default |
|---|---|---|
| All props from | React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Root | - |
ScrollBar
| Prop | Type | Default |
|---|---|---|
| All props from | React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.ScrollAreaScrollbar | - |