Scrolling Frame With Different Sized UI Buttons

Recently, I’ve been seeing a rise in games using scrolling frames for shops and having multiple sizes of buttons in them. My goal is to make something like this, but I’m not quite sure where to start. Additionally, how would scaling work for all devices? If anyone knows the process or starting place of making something like this, please let me know.

The picture shows an example of what I’m talking about. The pet section at the top takes up the whole frame but the gamepass buttons only take up half the frame.