Scroll Area
Custom-styled scrollable viewport with optional scrollbars built on Base UI.
Default
Card List
Compact
Prose
With Header
Notifications
12 unread
Installation
npx shadcn@latest add @byronwade/scroll-areaProps
| Prop | Type | Default | Description |
|---|---|---|---|
| children | React.ReactNode | — | Content rendered inside the scroll viewport. |
| className | string | — | Classes merged onto the scroll root. |
| orientation | "vertical" | "horizontal" | "vertical" | Axis for the exported ScrollBar part. |