How to use subpar.grid for one figure over multiple sites?

Hi,
I use subpar.grid for making multiple figures into one which I need to reference. This works fine as long as it is on one page. Is there a way to subpar.grid use multiple pages? At the moment the figures which should be on the next site just vanishes. Just an example: 20 rect() don’t get on one page. Can I have them split into two pages without using subpar.grid twice or having everything in its own #figure() body?

figure(rect()),
figure(rect()),
figure(rect()),
figure(rect()),
figure(rect()),
figure(rect()),
figure(rect()),
figure(rect()),
figure(rect()),
figure(rect()),
figure(rect()),
figure(rect()),
figure(rect()),
figure(rect()),
figure(rect()),
figure(rect()),
figure(rect()),
figure(rect()),
figure(rect()),
figure(rect()),
caption: [xy],
label: <xy>
)```

Hi @liz,
subpar internally uses figure and a grid which can be set to be breakable.

// affects all grids, figures and subpar elements
#show grid: set block(breakable: true)
#show figure: set block(breakable: true)

#subpar(...)
#subpar(...)

Scoped to only the current subpar element:

#{
show grid: set block(breakable: true)
show figure: set block(breakable: true)

subpar(...)
}

// not affected
#subpar(...)