how to create selectable layouts for specific pages in wordpress

hello everyone

I want to build and sell a wordpress site using next.js. I want to add selectable layouts to some pages to offer variety to customers. If I had to give an example;

I want to show portfolio items on a page and create an area that allows it to choose the page layout. The selected layout will appear in the gutenberg editor, some changes can be made to the layout via the editor.

I created a custom field with ACF, but I was only able to show the custom field. I couldn’t show the selected layout in gutenberg editor. and then I used page templates but I don’t think they are suitable for this job. I’m new to WordPress so I don’t know exactly how to do it.

If I had to give a live example of what should be done; Rayden - Creative Portfolio Theme by ClaPat | ThemeForest

As you can see, there are various layouts on the homepage and portfolio pages. To provide this to the user through the wordpress panel. Thank you for your help

Don’t get me wrong, there’re lots of experienced developers who’s unable to get their items approved, compared to them, as a newbie, your chance is pretty low. You need to learn how to code first then design to be able to sell at Envato Marketplace and it takes time.