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

AutoScroll

Updated: May 8, 2025
View on GitHub
The AutoScroll component provides an infinite scrollable container that automatically scrolls to the left. The speed prop controls the speed of the scrolling. Combine with the <Fade> component to create a fade-in and fade-out effect.
Prop
Type
Default
children
React.ReactNode
speed
slowmediumfast
medium
hover
slowpausenone
slow
reverse
booleanfalse
className
string
style
React.CSSProperties
scrollGap
Gap between the repeated copies of the track.
numberstring
…and every FlexProps propinherited
Edit this page on GitHub
TrademarkTrademark
Built with curiosity by Lorant One and the Design Engineers Club