The Scroller component creates a scrollable container with automatic navigation buttons that appear when content overflows. It's perfect for horizontal or vertical scrolling of content like cards, images, or any elements that might not fit in the available space.
Vertical
The Scroller can be configured to scroll vertically by setting the direction prop to column.
Fade
You can customize the color of the fade effect that appears behind the scroll buttons.
API reference
Prop
Type
Default
children
React.ReactNode
—
direction
Which way it scrolls.
row•column
row
fadeColor
Colour of the fade at each end. Match the surface behind it.