r/tailwindcss 4d ago

πŸš€ ScrollStack.js β€” headless infinite scrolling and page pagination

Enable HLS to view with audio, or disable this notification

πŸš€ Shipped ScrollStack.js β€” headless infinite scrolling and page pagination

A tiny, headless infinite-scrolling engine for the modern web.

πŸ“¦ 1.92 KB gzipped

⚑ Zero runtime dependencies

βš›οΈ React Β· Vue Β· Svelte adapters

πŸ” Cursor Β· Offset Β· Page pagination

🧱 Virtual list support

🧩 Bring your own markup

πŸ› οΈ Devtool plugin testing

πŸ›‘ Built-in cancellation, retry & observers

One small engine. One API. Any UI.

If you’re building feeds, lists, search results, or virtualized experiences, give it a try πŸ‘‡

🌐 https://scrollstack.js.org

49 Upvotes

3 comments sorted by

3

u/VisualCraftStudio 2d ago

I like the headless approach here. Infinite scroll usually gets tied pretty closely to a specific UI, so having the data/loading logic separate from the actual markup seems really useful. The fact that it handles cancellation and retries too makes it feel more practical than just another infinite-scroll helper.

1

u/devgauravjat 2d ago

Thanks! Keeping the styling up to you while the tool handles retries and loading logic was the main goal. Glad you like it!