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-area

Props

PropTypeDefaultDescription
childrenReact.ReactNodeContent rendered inside the scroll viewport.
classNamestringClasses merged onto the scroll root.
orientation"vertical" | "horizontal""vertical"Axis for the exported ScrollBar part.