Skip to main content

Scroll

The Scroll component is a utility wrapper that can be used to apply a vertical scroll to its children.

Example

Props

NameDescriptionType
classNameAdditional classes for styling the scroll container.String
shadowOptional shadow on the scrollbar. Default is true.Boolean
childrenThe content in the scroll container.ReactNode
propsAdditional div properties from HTML attributes.HTMLDivElement