Skip to content
Design System
GitHub

Load more

v0.23.1

The end of a long list on a phone or in a gallery: how much is shown, and one button for the next batch that says how many it adds and how many remain.

API reference

Generated from the types. Every part also takes className.

LoadMore

shownrequired
number
totalrequired
number
steprequired
numberHow many one press adds.
onMorerequired
() => void
loading
boolean = falseWhile the next batch is on its way (when it is fetched, not just revealed).
labels
Partial<LoadMoreLabels>The words it says, to translate them.
locale
stringFormats the numbers (a BCP 47 tag such as "zh-TW"). Left out, the browser's language.