11# Make granular UI changes | Codex use cases---
22 name: Make granular UI changes
33Codex use casestagline: Use Codex-Spark for fast, focused UI iteration in an existing app.
44 summary: Use Codex to make one small UI adjustment at a time in an existing app,
55 verify it in the browser, and keep iterating quickly from a popped-out chat
66 window near your preview.
77skills:
88 - token: $playwright
99Codex use case url: https://github.com/openai/skills/tree/main/skills/.curated/playwright-interactive
1010 description: Open the running app in a real browser, inspect the changed route,
1111# Make granular UI changes and verify each small UI adjustment before the next iteration.
1212 bestFor:
1313Use Codex-Spark for fast, focused UI iteration in an existing app. - Existing apps where the main structure is already built and you need small
1414 visual adjustments
1515Difficulty **Easy** - Fast product or design review loops where each note should become one
1616 focused code change
1717Time horizon **5m** - UI polish passes that need browser verification but should not turn into a
1818 broad redesign
1919Use Codex to make one small UI adjustment at a time in an existing app, verify it in the browser, and keep iterating quickly from a popped-out chat window near your preview.starterPrompt:
2020 title: Make One UI Change
2121## Best for body: >-
2222 Make this UI change in the existing app:
23- Existing apps where the main structure is already built and you need small visual adjustments
24- Fast product or design review loops where each note should become one focused code change
25- UI polish passes that need browser verification but should not turn into a broad redesign
26
27# Contents
28
29[← All use cases](https://developers.openai.com/codex/use-cases)
30
31Copy page [Export as PDF](https://developers.openai.com/codex/use-cases/make-granular-ui-changes/?export=pdf)
32
33Use Codex to make one small UI adjustment at a time in an existing app, verify it in the browser, and keep iterating quickly from a popped-out chat window near your preview.
34
35Easy
36
375m
38
39Related links
40
41[Codex-Spark](https://developers.openai.com/codex/speed#codex-spark) [Floating pop-out window](https://developers.openai.com/codex/app/features#floating-pop-out-window)
42
43## Best for
44 23
4524- Existing apps where the main structure is already built and you need small visual adjustments [describe the exact spacing, alignment, color, copy, responsive, or
4625- Fast product or design review loops where each note should become one focused code change component-state adjustment]
47- UI polish passes that need browser verification but should not turn into a broad redesign
48 26
49## Skills & Plugins
50 27
5128- [Playwright](https://github.com/openai/skills/tree/main/skills/.curated/playwright-interactive) Constraints:
52 29
5330 Open the running app in a real browser, inspect the changed route, and verify each small UI adjustment before the next iteration. - Change only the files needed for this UI adjustment.
54 31
5532| Skill | Why use it | - Reuse existing components, tokens, icons, and layout patterns.
56| --- | --- |
57| [Playwright](https://github.com/openai/skills/tree/main/skills/.curated/playwright-interactive) | Open the running app in a real browser, inspect the changed route, and verify each small UI adjustment before the next iteration. |
58 33
5934## Starter prompt - Keep behavior, data flow, and routing unchanged unless I explicitly ask
35 for it.
60 36
6137 Make this UI change in the existing app: - Start or reuse the dev server, inspect the current UI in the browser, make
6238[describe the exact spacing, alignment, color, copy, responsive, or component-state adjustment] the smallest patch, and verify the result visually.
63 Constraints:
64 - Change only the files needed for this UI adjustment.
65 - Reuse existing components, tokens, icons, and layout patterns.
66- Keep behavior, data flow, and routing unchanged unless I explicitly ask for it.
67- Start or reuse the dev server, inspect the current UI in the browser, make the smallest patch, and verify the result visually.
68Stop after this one change and summarize the files changed plus the browser check you ran.
69 39
70[Open in the Codex app](codex://new?prompt=Make+this+UI+change+in+the+existing+app%3A%0A%5Bdescribe+the+exact+spacing%2C+alignment%2C+color%2C+copy%2C+responsive%2C+or+component-state+adjustment%5D%0A%0AConstraints%3A%0A-+Change+only+the+files+needed+for+this+UI+adjustment.%0A-+Reuse+existing+components%2C+tokens%2C+icons%2C+and+layout+patterns.%0A-+Keep+behavior%2C+data+flow%2C+and+routing+unchanged+unless+I+explicitly+ask+for+it.%0A-+Start+or+reuse+the+dev+server%2C+inspect+the+current+UI+in+the+browser%2C+make+the+smallest+patch%2C+and+verify+the+result+visually.%0A%0AStop+after+this+one+change+and+summarize+the+files+changed+plus+the+browser+check+you+ran. "Open in the Codex app")
71 40
7241 Make this UI change in the existing app: Stop after this one change and summarize the files changed plus the browser
7342[describe the exact spacing, alignment, color, copy, responsive, or component-state adjustment] check you ran.
7443 Constraints: suggestedModel: gpt-5.3-codex-spark
7544 - Change only the files needed for this UI adjustment. suggestedEffort: low
7645 - Reuse existing components, tokens, icons, and layout patterns.relatedLinks:
7746- Keep behavior, data flow, and routing unchanged unless I explicitly ask for it. - label: Codex-Spark
7847- Start or reuse the dev server, inspect the current UI in the browser, make the smallest patch, and verify the result visually. url: /codex/speed#codex-spark
7948Stop after this one change and summarize the files changed plus the browser check you ran. - label: Floating pop-out window
49 url: /codex/app/features#floating-pop-out-window
50---
80 51
81## Introduction52## Introduction
82 53
108 79
109If the result is close but not quite right, keep the follow-up equally specific:80If the result is close but not quite right, keep the follow-up equally specific:
110 81
111The change is close. Keep the implementation, but adjust only this detail:
112[describe the remaining mismatch]
113Verify the same route and viewport again before you stop.
114
115## When to slow down82## When to slow down
116 83
117Do not keep using the fast loop if the task stops being granular. Switch to a stronger model and a more deliberate prompt when the change needs broad refactoring, a new design system primitive, non-trivial accessibility behavior, or a product decision that affects more than one screen.84Do not keep using the fast loop if the task stops being granular. Switch to a stronger model and a more deliberate prompt when the change needs broad refactoring, a new design system primitive, non-trivial accessibility behavior, or a product decision that affects more than one screen.
118 85
119Fast UI iteration works best when Codex is adjusting an already-understood surface, not redesigning the app from scratch.86Fast UI iteration works best when Codex is adjusting an already-understood surface, not redesigning the app from scratch.
120
121## Related use cases
122
123[
124
125### Add iOS app intents
126
127Use Codex and the Build iOS Apps plugin to identify the actions and entities your app should...
128
129iOS Code](https://developers.openai.com/codex/use-cases/ios-app-intents)[
130
131### Adopt liquid glass
132
133Use Codex and the Build iOS Apps plugin to audit existing iPhone and iPad UI, replace custom...
134
135iOS Code](https://developers.openai.com/codex/use-cases/ios-liquid-glass)[
136
137### Build a Mac app shell
138
139Use Codex and the Build macOS Apps plugin to turn an app idea into a desktop-native...
140
141macOS Code](https://developers.openai.com/codex/use-cases/macos-sidebar-detail-inspector)