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

InfiniteScroll

Updated: May 8, 2025
View on GitHub
The InfiniteScroll component provides an infinite scrollable container that progressively loads content as the visitor scrolls.
Prop
Type
Default
itemsrequired
What has been loaded so far.
T[]
renderItemrequired
How to render one.
(item: T, index: number) => ReactNode
loadMorerequired
Fetch the next page. Resolve false when there is nothing left.
() => Promise<boolean>
loading
Whether a fetch is in flight.
booleanfalse
threshold
How many pixels from the bottom to start loading.
number200
className
string
…and every FlexProps propinherited
style
React.CSSProperties
Edit this page on GitHub
TrademarkTrademark
Built with curiosity by Lorant One and the Design Engineers Club