Hi Bubblers,
You may have asked yourself at some point:
âHow can I build a pagination component like the ones used on major e-commerce sites like Shopee, using Bubble?â
Well, maybe you havenât asked thatâbut now youâre curious, right? Either way, thatâs the tip I want to share in this post
The need came up because our designer included this kind of pagination in a Figma mockup for a client project, and there was no convincing him otherwise So we had to build the component in-house here at Yowpi.
At first, I thought, âSurely someoneâs already made thisâshould be easy to find on the forumâŚâ
But I couldnât find anything decent and free, so I dove into the Bubble editor and built it from scratch.
After a few intense minutes, hereâs what I came up with:
Initial state â positioned on the first page:
Clicking the ellipsis paginates in increments of 5 (this is configurable):
Last page state:
To make sharing easier, I copied the component into one of my test apps, which has the editor open for viewing. I also added a brief explanation of how it works.
Hereâs the link:
https://mrtrettin-test.bubbleapps.io/version-test
Hope this is useful to someone out there!