Scroller
Horizontal scroll container with navigation controls
Source
LLM docs
Docs
Package
Usage
Scroller is a horizontal scroll container that displays navigation controls (chevron buttons)
when content overflows its container. It supports native scrolling via trackpad, shift + mouse wheel,
or touch gestures.
Mouse drag scrolling
Set draggable prop to enable scrolling by clicking and dragging with the mouse:
Scroll amount
Use the scrollAmount prop to control how many pixels the container scrolls when clicking
the navigation buttons. The default value is 200.
Control size
Use the controlSize prop to change the size of the navigation buttons. It accepts any valid
Mantine size value (xs, sm, md, lg, xl) or a number (converted to pixels).
Custom icons
Use startControlIcon and endControlIcon props to replace default chevron icons
with custom icons: