Components
Scroll-area
Scroll-area
The Scroll-area component enhances native scrolling with custom, cross-browser styling, providing a consistent and visually appealing experience across various browsers and devices. It ensures smooth, polished scrolling behavior while maintaining flexibility in design.
Additional Examples
Horizontal Scrolling
Configurable Props
<ScrollArea>
Prop | Type | Default/ Options | Description |
---|---|---|---|
type | enum | "hover" | Describes the nature of scrollbar visibility, similar to how the scrollbar preferences in MacOS control visibility of native scrollbars.
|
<ScrollBar>
Prop | Type | Default/ Options | Description |
---|---|---|---|
orientation | enum ("horizontal" | "vertical") | "vertical" | The orientation of the scrollbar |