Grouping (or paginating?) structure items

I’m looping through a structure field but I’d like to render them in groups of 3 (123, 456, 789). I considered pagination for this but I can’t quite get it to work:

$deliverables = $page->deliverables_webdevelopment()->toStructure()->paginate(3);
foreach($deliverables as $deliverable):
...

This returns the first three, but how to I get the next “page” without have to use a URL parameter? $deliverables->pagination()->nextPage(); returns 2 but how do I return those entries?

Using pagination is not the right approach here if you want to render them all at the same time, just as groups.

Use $pages->chunk() instead: $pages->chunk() | Kirby CMS

That’s it, thank you! I looked at pagination, groups, segments… but of course it’s chunks!