Web & App Design
Design an app screen
This walkthrough builds a task list for a phone: a 390 × 844 screen with a status bar, a large title, a list of rows, a tab bar and a floating add button. The rows are instances of one component, so a change to the row changes every row, and the bars stay put while the list scrolls when you play it.

The screen and its safe areas#
- Press F and choose iPhone in the strip under the top bar. Nox makes a 390 × 844 frame with a safe area of 47 above and 34 below.
- Choose View › Safe Areas to show the bands.
- Give the frame a fill of
#F2F3F7: a light gray ground makes white rows and cards stand out.
The top band holds the status bar and the camera; the bottom band holds the home indicator. Nothing that must be read or tapped goes in either. Backgrounds and the bar's blur may run under them. To change the insets by hand, open the Game UI section of the inspector and type Safe T and Safe B. Safe areas covers other devices.
Make a 390 × 844 iPhone screen called Today with the safe area 47 above and 34 below, a #F2F3F7 ground, and content that scrolls vertically.
The agent calls create_nodes:
{"nodes": [{"kind": "frame", "name": "Today", "x": 0, "y": 0, "width": 390, "height": 844, "fill": "#F2F3F7", "corner_radius": 44, "clips_content": true, "safe_area": [47, 0, 34, 0], "scrolls": "vertical"}]}Status bar and title#
The status bar is a frame 390 × 47 at the top with no fill: the time at x 36 in Inter 17, weight 600, and the signal and battery shapes at the right. Under it, a large title "Today" at y 60 in Inter 34, bold, letter spacing -0.4, and a summary line at y 104 in 15, #5B6272. A left margin of 20 for text and 16 for cards is a common pairing on phones: cards look aligned with the text because of their own inner padding.
Rows from one component#
Draw one row, make it a component, then place instances of it. Every row then has the same height, gaps and type, and stays that way.
The row is 358 × 68, white, a horizontal auto layout with padding [0, 16], gap 12 and children centered across. Inside it: a 24 pt check circle, a column with a title (Inter 16, weight 500) over a subtitle (13, #6B7280) that fills the width, and the time (13, weight 500, tabular figures so times line up). A 1 px line at its foot, #E6E8EE, separates rows.
Set the title and subtitle to cut to one line. A long task then ends in an ellipsis instead of pushing the time off the row.
- Build the row once, select it and choose Arrange › Make Component (⌥⌘K).
- Select the title inside the component and, under Instances can change, switch on Its text. Do the same for the subtitle and the time. Each instance can then say its own words without being detached (see Components and instances).
- Make a frame 358 wide with a column auto layout and radius 20, turn on Clip what is outside it (under More, below the size fields), and put five instances in it, each set to fill the width.

Make a Task row component, 358 × 68: a check circle, a title over a subtitle, a time at the right, a hairline at the foot. Offer Title, Subtitle and Time as properties, then list five tasks in a rounded white card.
The agent makes the component with create_nodes:
{"nodes": [{"kind": "component", "name": "Task row", "x": 0, "y": 1000, "width": 358, "height": 68, "fill": "#FFFFFF",
"stroke": "#E6E8EE", "stroke_widths": [0, 0, 1, 0],
"layout": {"direction": "horizontal", "padding": [0, 16], "gap": 12, "cross_align": "center"},
"children": [
{"kind": "ellipse", "name": "Check", "width": 24, "height": 24, "fills": [], "stroke": "#C3C8D4", "stroke_width": 2, "stroke_align": "inside"},
{"kind": "frame", "name": "Words", "fills": [], "width": "fill", "height": "hug", "layout": {"direction": "vertical", "gap": 2}, "children": [
{"kind": "text", "name": "Title", "text": "Title", "width": "fill", "font_family": "Inter", "font_size": 16, "font_weight": 500, "fill": "#14171C", "text_truncate": true, "max_lines": 1},
{"kind": "text", "name": "Subtitle", "text": "Subtitle", "width": "fill", "font_family": "Inter", "font_size": 13, "fill": "#6B7280", "text_truncate": true, "max_lines": 1}]},
{"kind": "text", "name": "Time", "text": "9:00", "font_family": "Inter", "font_size": 13, "font_weight": 500, "fill": "#6B7280", "font_features": ["tnum"]}]}]}
It offers the three texts as properties with update_nodes:
{"changes": [{"id": "ROW_ID", "properties": [
{"name": "Title", "type": "text", "target": "TITLE_ID"},
{"name": "Subtitle", "type": "text", "target": "SUBTITLE_ID"},
{"name": "Time", "type": "text", "target": "TIME_ID"}]}]}
Then it places the list in the screen, each instance with set. A done task overrides the check's fill and dims its title:
{"parent": "TODAY_ID", "nodes": [{"kind": "frame", "name": "List", "x": 16, "y": 140, "width": 358, "height": "hug", "fill": "#FFFFFF", "corner_radius": 20, "clips_content": true,
"layout": {"direction": "vertical"},
"children": [
{"kind": "instance", "component": "ROW_ID", "width": "fill", "set": {"Title": "Review the pricing page", "Subtitle": "Design · with Mai", "Time": "9:00"},
"overrides": [{"target": "CHECK_ID", "fill": "#4B49E8", "stroke": "#4B49E8"}, {"target": "TITLE_ID", "fill": "#6B7280"}]},
{"kind": "instance", "component": "ROW_ID", "width": "fill", "set": {"Title": "Write the onboarding email", "Subtitle": "Marketing", "Time": "13:00"}}]}]}Tab bar#
The tab bar sits at the foot, y 761, 390 × 83: 49 for the tabs plus the 34 of the bottom safe area. Lay it out as a row with padding [8, 12, 34, 12] and four tabs that each fill the width; each tab is a column of a 24 pt icon over an 11 pt label, gap 4. The bottom padding keeps the tabs above the home indicator while the bar's own background runs to the edge.
Give it white at 72% opacity with a background blur of 24 and a hairline at its top (#0B0D12 at 10%). The list then shows faintly through it as it scrolls. Color the current tab in the accent, #4B49E8, and the others #6B7280.
Floating button#
A 56 × 56 frame, radius 28, 20 from the right edge and 16 above the tab bar: x 314, y 689. Fill it with a vertical gradient from #6C6CF7 to #4B49E8 and draw the plus as two 22 × 3 bars with rounded ends. 56 is well above the 44 a finger needs, and the design check flags anything clickable that is smaller.
Bars that stay put#
The screen scrolls vertically, so the status bar, the tab bar, the floating button and the home indicator must not scroll with the list.
Select each of them and turn on Stays Put in the Layout section. The line appears for a child of a frame that scrolls. The frame's own scrolling is the overflow menu in the Game UI section: None, Horizontal, Vertical or Both.
The agent calls update_nodes:
{"changes": [{"id": "STATUS_BAR_ID", "stays_put": true}, {"id": "TAB_BAR_ID", "stays_put": true}, {"id": "ADD_BUTTON_ID", "stays_put": true}]}Press ⌘3 to play the screen and scroll it: the list moves under the bars. Prototype and Play shows how to link the rows and the button to other screens.
A frame scrolls as far as its content reaches past its bottom edge, and what stays put does not count. Put an empty frame 83 tall under the list, as tall as the tab bar, so the last task can scroll clear of the bar.