Framer Update, CMS

Framer Update: CMS Pagination

Framer Update: CMS Pagination

Framer Update: CMS Pagination

Benjamin

·

5:36

·

13K views

·

About this lesson

Today we’re introducing CMS Pagination, supporting both Infinite Scrolling and a manual Load More button. To add Pagination, simply select your Collection List, click on Pagination, select one of the two options, then pick how many items to load. Pagination also works with existing Limits and Start Offsets. Both the Spinner and Button are completely customizable, and you can pick any Variant for their Loading states. The Spinner itself is just a layer with a conic gradient and a Loop Effect, so you get full control. Adding Pagination helps make your blogs and changelogs much faster to load, especially when they contain dozens of items. https://framer.com/updates/cms-pagination

🌞 Start for free: https://framer.link/yt

📚 Learn more at: https://framer.link/yt-academy

💎 Join the Community: https://framer.link/yt-community

🎉 Follow on X: https://framer.link/yt-x

0:00yo my name is Benjamin and in this video0:03I'm excited to introduce CMS pagination0:07here's how it works I have two0:09collection lists here this one is0:12limited to the last item and this is my0:16main collection list with all other0:18posts and we might think these are too0:21many items to load in at once and we0:23would like a little pation which is0:26especially useful when you have hundreds0:28of items as that can make your site much0:31slower to load to add pation I can click0:35on our collection list head over to the0:37property panel and click add and this0:41allows me to pick between infinite0:43scroll and a load more button I'll go0:47with load more0:49first and here we can select how many0:52items we would like to show initially as0:55well as how many items we would like to0:57load whenever you click load more1:00framer has automatically added a load1:03more button to our collection list1:06clicking this will now load the next for1:08items this button is just a component1:11with variants and the variants are1:13mapped to the actual loading State and1:16the hidden State here and we can1:19doubleclick on the button to customize1:23these1:26variants for example we could change the1:29fill color here1:30here to be a bit more1:34subtle and we could assign a1:38textile to have it match a bit more with1:40my blog demo then I'd like to customize1:43the padding just a little bit to have it1:46vertically1:48centered and then revert that on the1:50loading1:51State and there we go some light1:55customization it's also worth pointing1:58out that this spinner is completely2:00customizable as2:02well it has an appear effect by default2:06set to 0.3 seconds this makes sure that2:10if your content loads really fast like2:12on our lightweight demo you don't see a2:16flash of a spinner while on slow2:18connections the spinner will appear as2:21you would expect the spinner itself is2:23just aonic gradient with a mask and a2:26loop effect this means you can customize2:29every single detail from its size to its2:33color and its animation speed next we2:37can go back to our homepage Now by2:40default the spacing between the last2:43item and your low more button is2:46dictated by the Gap value of your2:49collection list however you can also add2:52more spacing either with in the2:54component or around the component for2:57example I can rightclick add a stack and3:01then add some top padding this does mean3:04that this spacing is always there even3:07when there are no more posts to load to3:10avoid this we can bake it into the3:13component which will do for the spinner3:15in a little bit but first let's give3:18this a preview as we scroll down we get3:21our button and when clicked we instantly3:25get the next batch of items so the L3:29more button is easy to add fully3:32customizable and makes your SES faster3:35to load next infinite scrolling I'll3:38head over to the pagination property and3:41I'll select it in the menu and this adds3:44a spinner instead of a button when using3:47infinite scrolling it's recommended to3:50not have any footer or contents below3:53your spinner to avoid a cumulative3:56layout shift penalty which is a metric3:59that's a part of Google's score web4:02vitals you can learn more about this on4:05our site but for now I'll simply remove4:08the footer then I'll select my desktop4:12breakpoint add some bottom4:14[Music]4:15padding and then let's double click into4:19the loading spinner this one is fully4:22customizable as well and just like the4:25spinner in the button here we've also4:28added a 3 second and fade in effect this4:31ensures that your spinner doesn't flash4:33when your content loads in very quickly4:36next I'll select the variant flip the4:40direction and set distribute to end this4:44allows us to change the height while4:46this spinner remains docked to the4:49bottom effectively allowing us to bake4:52in some top4:55spacing now when we scroll towards the4:58bottom of our page5:00the next four items will load5:03automatically and while this may be a5:05bit hard to see in our demo here as the5:08new items load in so quickly this will5:11have a huge impact on sites with dozens5:14or hundreds of items as adding any form5:18of pagination to those pages will make5:20your sites much faster to load that's it5:24for this video thank you for watching5:26and stay tuned for more updates coming5:29coming soon

Watch on YouTube ↗

More in this topic

Framer Update: Logo Shaders2:05
Framer Update: Logo Shaders
Framer Update12K views · 1 month ago
Framer Update: CMS 3.04:13
Framer Update: CMS 3.0
Framer Update14K views · 1 month ago
Framer Update: Holo Shader1:46
Framer Update: Holo Shader
Framer Update6K views · 2 months ago
Framer Update: Auto Translate3:09
Framer Update: Auto Translate
Framer Update4K views · 2 months ago
Framer Update: Stack Sorting and Bento Grids2:16
Framer Update: Stack Sorting and Bento Grids
Framer Update7K views · 2 months ago
Shader: Chromatic Aberration1:56
Shader: Chromatic Aberration
Framer Update7K views · 2 months ago
Framer Convert5:42
Framer Convert
Framer Update13K views · 3 months ago
Ship websites with enterprise needs, at startup speeds0:33
Ship websites with enterprise needs, at startup speeds
Announcement8.3M views · 3 months ago

Create a free website with Framer, the website builder loved by startups, designers and agencies.