Load more
v0.23.1The 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.
Load more list
Install
npx shadcn add @syncrobotic/load-more Also installs: @syncrobotic/cn, @syncrobotic/button
Overview
When to use
- Lists and galleries on a phone.
- Results that load in batches.
Use something else
- A desktop table people jump around in: Pagination.
More examples
States and real uses. Each example is also a Storybook story and a visual regression test.
Load more loading
Usage rules
- Say how much is shown, and on the button how many it adds and how many remain. Never “Load more” alone.
- It disappears once everything is shown. For a desktop table people jump around in, use Pagination.
Changelog
- 0.23.12026-11-21No unused React import, so the file compiles in projects with noUnusedLocals.
- 0.23.02026-11-20
localeformats the numbers;LoadMoreLabelsanddefaultLoadMoreLabelsare exported, and the label functions receive the locale. - 0.15.02026-11-19The docs say to give newly loaded rows
animate-appear.