Kirby4 - Usage of k-pages-field component

Hi,
I am currently building a custom area. In that area I want the user be able to select a page from the page-tree. In the labs I found the k-pages-field component and think that this will be a good choice. But I don’t understand how to configure the component, so a user will be able to select any page from the page tree.
Am I missing some documentation, where I can find out how the pages collection will be loaded to the component? Or what props I need to pass it to function properly?

Thanks for any help!

based on this

i created a custom pages section with k-collection for one of my plugins that might help you get started.

Thank you!

Yes that worked, but I realized it is not exactly what i was looking for. Or at least, the selection was not. I found the k-page-tree component that renders the tree to select a page. Combining them might do the work.