Geometry Nodes

How do you do this with actual individual book objects of varying thickness?

Over on polyhaven they have this great collection of random books: https://polyhaven.com/a/decorative_book_set_01 and I’d like to do something like in the video above but every example of such a thing relies on the default cube and not actual meshes of varying thickness.