Skip to content

Some properties provide flexibility for specific integrations. Follow the component's usage guidance. Customizations beyond the documented patterns need a use case approved by DNB UX. Read about intended use and customization.

Properties#

TypeDescription
interactiveboolean
"auto"
(optional) To make the content accessible for keyboard navigation. Use true or auto. Auto will detect if a scrollbar is visible and make the ScrollView accessible for keyboard navigation. Defaults to false.
scrollbarGutter"stable"(optional) Reserves space for the scrollbar gutter, preventing layout shifts when content overflows. Maps to the CSS scrollbar-gutter property. Defaults to undefined.
Spacestring
object
(optional) Spacing properties like top or bottom are supported.
Suggest an edit