Scroll Area
A scroll container with a thin custom scrollbar that matches the product surface.
Vertical
Give the area a fixed height; content past it scrolls. When the content has no focusable children, set viewportLabel so keyboard users can focus the area and scroll it with the arrow keys.
Horizontal
Set orientation="horizontal" to render a horizontal scrollbar. A direction without a scrollbar does not scroll. Use "both" for content that scrolls both ways.
Properties
Scrollable content.
Scrollbars to render. A direction without a scrollbar does not scroll.
Default: vertical
When the scrollbars are visible. With hover, they show while the pointer is over the area or it is scrolling.
Default: hover
Accessible name for the viewport. Also makes it a focusable region, so keyboard users can scroll it.
Ref to the scrolling viewport, for reading or setting the scroll position.
Additional classes for the viewport.
Additional classes for the scrollbars.
Additional classes for the root.