How do I design a Roblox shop GUI that works on phones?
Updated
Open the shop as a centred card, not a full screen: top phone games use a median 0.45 of the screen width and 0.72 of its height. Show a grid of about 4 columns with the last row cut as a scroll hint and a price on every card. Put an X at the top-right in a 44 px hit area, and keep the balance in view.
How big the panel is
| Measure | Top phone games |
|---|---|
| Panel size, median | 0.45 of the screen width x 0.72 of its height |
| Shop and inventory grids, range | 0.20-0.78 wide x 0.44-0.86 tall |
| Covers 90% of both axes | None of 58 framed panels |
| Centred | 43 of 58 |
| On tablets | 0.59 x 0.46 of the screen, median of 20 panels |
On Studio's 800x360 phone preset the safe frame is 705x280 px. A panel that starts 38 px down is at most 236 px tall. Once the HUD beside it slides away, our rule is to widen it to about 0.8 of the screen width.
Rail, offer and grid
- A rail of categories down one side, or tabs along the top. Give each tab a 44 px hit area.
- One featured offer across the top of the first shelf only. On the other shelves the grid takes its room.
- A grid of cards with the price on each card. Top games showed 4 columns and 2 rows on a phone.
- Let the last visible row be cut by the panel edge, so players see there is more.
- A button that takes or gives currency carries its verb: "SELL 1,200", not just "1,200".
Conventions players already know
Roblox's UI design docs list signs players already read: an X closes a dialog, grey means a button is unusable, and a lock means not yet unlocked. Its consistency examples show an unaffordable price in red and the close button only at the top right.
Top games agree on the close button. Of 44 panels with an X at a corner, 42 put it inside or across the top-right corner, and none at the top-left. The visible X was about 29 px on a 375 px tall phone, so give it a 44 px hit area.
What stays behind it
- Behind the panel, top games left the world untouched in 30 of 82 frames, blurred it in 26 and dimmed it in 7.
- Roblox's BlurEffect blurs the 3D world view and may render differently on low-end devices. Our rule: pair a blur with a light dim.
- The currency stayed visible in all 19 shop frames from 8 games. Keep the balance on screen, in the panel header if the panel covers it.
- A panel body or dim with Active set to false lets a tap reach the button behind it. Set Active to true on both.
Open, buy and close
- Open in about 0.2 s: where top games' clips were timed, the median open was 200 ms.
- Our rule: pop from 0.9 scale to full in 0.2 s, close in 0.12 s.
- Answer every press within 0.5 s, and show the result on screen.
- When the player cannot afford it, shake the button and turn the price to your warning colour.
The open time comes from only 3 timed clips, 120-250 ms. Treat it as a starting value and tune it by eye.
Check it with real taps
- Open the shop from its HUD button with a real tap in Studio's Device Simulator, on an 800x360 phone.
- Repeat on an 874x402 notched phone, a 1180x820 tablet and a 1920x1080 desktop.
- Fill it with the longest names and the largest prices the game can show.
RoDesigner's design_guide tool, layout section roblox-ui-mobile#4, serves a window kit with a shop layout your agent can copy into Studio.
Questions
Should the shop cover the whole screen on a phone?
Top phone games do not do that: none of 58 framed panels covered 90% of both axes. A centred card about 0.45 x 0.72 of the screen is the median.
How many columns should a shop grid have on a phone?
Top phone games showed 4 columns and 2 visible rows. Let the last row be cut by the panel edge as a scroll hint.
Should the HUD hide when the shop opens?
Move away only what the panel covers. Keep the currency visible: it stayed on screen in all 19 shop frames we counted.
Where these numbers come from
Panel size median 0.45 x 0.72 of the screen; shop and inventory grids 0.20-0.78 x 0.44-0.86; none covers 90% of both axes; 43 of 58 centred; tablets 0.59 x 0.46 (20 panels).
Grids: 4 columns and 2 rows visible on phones; X inside or across the top-right corner in 42 of 44, never top-left; visible X about 29 px (0.077 of the height) at 375 px.
Behind the panel: untouched 30, blur 26, dim 7 of 82 frames; currency visible in all 19 shop frames from 8 games; open median 200 ms in 3 timed clips (120-250 ms).
On the 800x360 preset the safe frame is 705x280 px; a window starting 38 px down is at most 236 px tall.
Widen the panel to about 0.8 of the screen width once the HUD beside it has slid off.
Rail and one featured offer on the first shelf; price on each card; verb on currency buttons; 44 px tab and close hit areas; pop from 0.9 in 0.2 s, close in 0.12 s; answer within 0.5 s; shake when unaffordable.
Conventions: an X closes a dialog, grey means unusable, a lock means not yet unlocked; consistency examples: unaffordable price in red, close button only at the top right.
BlurEffect blurs the entire 3D world view and may render differently on low-end devices.
A Frame, label or image with Active false lets a tap reach a button behind it.