Deprecated. Use variant instead. Retained as alias for one minor.
offsetScrollbars
boolean
false
Keep the scrollbar's room reserved, so content never shifts.
scrollbarSize
number
—
Scrollbar thickness in pixels.
surface
'pixel' | 'linear'
—
Surface override; defaults to the nearest provider.
bordered
boolean
false
Render with surface-aware border + radius chrome. Defaults to false (no chrome).
aria-label
string
—
Accessible name for the scrollable region. Required for keyboard users to understand what they've landed on. Provide either aria-label or aria-labelledby. In dev, a missing label logs a warning.
aria-labelledby
string
—
Id of the element that names the region, in place of aria-label.
children* (required)
React.ReactNode
—
The content that scrolls.
Also takes the native attributes and event handlers of <div> (HTMLAttributes<HTMLDivElement>).
ref points to <div>.
Accessibility
WCAG target: 2.1 AA
scrollable-region
Region is focusable (tabIndex 0, role="region") so keyboard users can scroll. Provide aria-label or aria-labelledby so screen-reader users know what they have landed on; a dev-time warning fires if none is set.