Rebar UI

1.0

synthetic

InfiniteScrollGrid

A card grid that loads the next batch when you scroll to the bottom.

Crew directoryScroll the panel: six more load each time
Aisha BelloFerry deckhand
Ben OkaforPilot boat skipper
Carys HughesHarbour office
Dev PatelMarine engineer
Erin WalshFerry deckhand
Fatima KhanDispatcher
Loading
Empty
No crew interviewed yet
Everything loaded
Aisha BelloFerry deckhand
Ben OkaforPilot boat skipper
You’ve reached the end.

In context

Project filesFiles load as you scroll
FilesAll projects
Depot signage
depot-fascia-final.pdf1.4 MB
Harbour rebrand
van-livery-photos.zip48 MB
Crew interviews
interview-03-walkthrough.mp4212 MB

Props

PropTypeRequiredDefault
itemsT[]Yes—
renderItem(item: T) => ReactNodeYes—
keyExtractor(item: T) => stringYes—
hasMorebooleanYes—
isLoadingbooleanYes—
onLoadMore() => voidYes—
columnsnumber | undefinedNo3
skeletonCountnumber | undefinedNo—
emptyMessagestring | undefinedNoNo results.

data-rebar-* attributes

data-rebar-component="infinite-scroll-grid"; parts include item, skeleton, and sentinel.

Migrating to Ant Design

Not codemod-covered — AntD's own List supports loadMore but via a manual button, not scroll-triggered; compose List + a hand-rolled IntersectionObserver, or a dedicated infinite-scroll library.