2.0 alpha
These docs describe 2.0. Install it with @once-ui-system/core@alpha.
On 1.8.x? Read the 1.x docs
TrademarkTrademarkDocs
Ctrl k
Search docs...
Components

ScrollContainer

Updated: July 27, 2026
View on GitHub
The ScrollContainer component creates a horizontal scrolling area with navigation buttons for browsing through collections of items. It features smooth scrolling, scroll snapping, and customizable control placement. Position navigation controls at the top or bottom with different horizontal alignments. Apply custom styling to item containers using flex props.
Prop
Type
Default
itemsrequired
The items in the scroll area.
React.ReactNode[]
controlPlacement
Where the scroll controls sit relative to the content.
top-starttop-centertop-endtop-betweenbottom-startbottom-centerbottom-endbottom-between
top-start
…and every FlexProps propinherited
Edit this page on GitHub
TrademarkTrademark
Built with curiosity by Lorant One and the Design Engineers Club