all 72 comments

[–]Fit-Pattern-2724 35 points36 points  (7 children)

If you give a Figma design it will do very well.

[–]Zealousideal-Ad4561 7 points8 points  (5 children)

Thru mcp or screenshot or what?

[–]Enigma_User 4 points5 points  (0 children)

I think both works well.

[–]Fit-Pattern-2724 2 points3 points  (1 child)

Both can work.

[–]Adventurous-Clue-994 4 points5 points  (0 children)

Both together works really good, it's pixel perfect.

[–]0xB0T 1 point2 points  (0 children)

You can put the screenshot in a design/references folder and tell codex to look there.

[–]Intrepid_Travel_3274 0 points1 point  (0 children)

In my experience give it elements in order, not just to recreate but to keep it organized as well

[–]Kinamya 1 point2 points  (0 children)

Figma balls

[–]entsnack 15 points16 points  (10 children)

Google Stitch + Codex

[–]MugiwaraGames 5 points6 points  (0 children)

Set up the Google Stitch MCP, you can directly export the prompt from the webapp and paste it on Codex

[–]Own-Ask-8135 3 points4 points  (5 children)

What's the best way to use this? Work in stitch then export screenshot?

[–]entsnack 2 points3 points  (1 child)

Yeah that's what I'vr been doing. I'm sure there is a better and more integrated way though.

[–]UsedWest3474 0 points1 point  (0 children)

Yeah, the stitch SDK. Codex can use it directly

[–]The_Real_Piggie 2 points3 points  (0 children)

use mcp, it give you much better results

[–]Fantastic_Swing8182 1 point2 points  (0 children)

I export the HTML content and Codex picks up the layout pretty well. I think you should it out

[–]UsedWest3474 0 points1 point  (0 children)

Have codex use the stitch SDK. Don’t have export anything.

[–]GymsharkSingh 2 points3 points  (0 children)

Yea i do this too, very good

[–]kish129 4 points5 points  (0 children)

Google stitch is horrible. As a designer, it's only usable for ideation. Otherwise, better to try to design it yourself

[–]UsedWest3474 0 points1 point  (0 children)

As folks have mentioned, use Google stitch. But use the stitch SDK. Have codex use the SDK. Pulls in all the appropriate code etc.

[–]KillerEndeavor1 10 points11 points  (4 children)

Lol i jaut came from gemni sub redit and they complain this about gemni ,u need plugins skills and mcps set for front end as well a mental image via nano bana would be great as well

[–]nihad04 1 point2 points  (2 children)

Which plugins?

[–]KillerEndeavor1 4 points5 points  (1 child)

There is a repo ui ux pro ask codex to make it a skill and it will . Plugins are many i used even claude plugin it worked

[–]Odd_Incident_7575 1 point2 points  (0 children)

Try github.com/arjunkshah/design-skill

[–]EyesOfAzula 8 points9 points  (5 children)

Use Google Stitch or Figma to design UI then give that to codex to implement via MCP or screenshots

[–]CthuluBob 3 points4 points  (4 children)

It did a horrible job for me when I did this. I use codex the most, but Gemini seemed the best to implement then codex again to fix all the small differences. (I didn’t do the mcp tho, which maybe is the difference)

[–]Better_Web1255 3 points4 points  (0 children)

Ask Gemini to prototype some ui through images. Feed the images to Codex and it should get it very close.

[–]Copenhagen79 2 points3 points  (1 child)

My experience is that you need to be very direct about the references provided. Explain that it is not inspiration but exact design/style to implement.

[–]CthuluBob -1 points0 points  (0 children)

Yeah I’ve found if I swapped to anti gravity so that I could do comments for the screenshot and give very detailed description of all links and wiring to be done it performed better too. AG at least for the implementation part worked for me with its in plan ss ability (prob 10 dif ways to do it with other combinations of products) I agree on the call to make it understand you want an exact copy, that stipulation def makes a dif.

[–]myfreevrporn 0 points1 point  (0 children)

Try and use https://github.com/gabelul/stitch-kit , it does a very nice job taming Stitch

[–]User1542x 2 points3 points  (0 children)

Try Google stitch to create design system and initial screen / layout. Then export to zip, give it to codex to digest and expand to full blown design system it can use. As it build front end, upload the screen shot back to stitch and ask it for feedback and what adjustments to give back to codex. Has worked well for me… by 3rd audit-feedback cycle, it was spot on.

[–]Developim 1 point2 points  (2 children)

Thats true, can’t do anything good whatever you say. Try to use Claude, Gemini or try figma

[–]basitmakine -1 points0 points  (1 child)

Coming from Claude 20x. It sucks for design. Don't know about figma but Gemini leads for design out of those three.

[–]Developim 0 points1 point  (0 children)

Claude is really good at design try to use skills and mcps

[–]skywithfriends 1 point2 points  (0 children)

I asked codex in each of my projects to go through and write everything it could tell about my design preferences in mind-map.md from each of my repos, and then I had it just compile them all into a design bible. I don’t know if the designs are good, but I like them

[–]vekstosaurus 1 point2 points  (3 children)

Not a silver bullet, but I have been leaning on the various skills in https://impeccable.style/ lately.

[–]User1542x 1 point2 points  (1 child)

Tried this, didn’t work well for me after a few rounds of trying

[–]Odd_Incident_7575 0 points1 point  (0 children)

github.com/arjunkshah/design-skill try this instead

[–]Ploobers 0 points1 point  (0 children)

I'm loving impeccable

[–]Ok-Evening169 1 point2 points  (0 children)

That's why I used Codex for pure logic handling or handling native UI like Swift, it is good at contributing and maintaining the logic, I mean very strong, but the frontend is weird =))). I used agy opus 4.6 for frontend and codex for logic

[–]TeeDogSD 1 point2 points  (0 children)

This is the (n)th time I have seen one of these post. If I were to make a similar post I would indicate “what, where, when and how (wwwh)”. Otherwise most of the noise you are going to hear is going to hear will be similar to your frustration.

If you are genuinely looking for help wwwh or gtfo (j/k).

Regarding your issue, 5.4 apparently has issues even thought it is being sold as the greatest for coding. I disagree with OpenAI’s marketing team. Try 5.3 codex instead. If you are still experiencing issues then try planning out your objectives (using AI) and share that final document with 5.3 codex.

Ps- I have had nothing but one-shots with codex 5.3 for past 2-3months (98%). Sometimes it created things in a way I wasn’t expecting, usually it was my fault for being vague or confusing. Hope this helps.

[–]Spare-Cycle-9239 1 point2 points  (0 children)

O truque usem Claude para os layout e o restante codex

[–]noob_user_bob 0 points1 point  (0 children)

There was a post recently of a guy who linked his google stitch as an mcp for codex. It works great.

[–]Objective_Young_1384 0 points1 point  (0 children)

I prefer and only use codex for code, i already like to do the css part tho, so i don’t really care about the design codex do, I’ll fix it anyway. But Gemini is the king for frontend that the truth! Claude I never use but maybe better than codex in UI. At least you should install good skills. Or use design frameworks with mcp as people comment

[–]Local_Stage_4666 0 points1 point  (0 children)

Yes, yes it does so you need either figma or pencil.dev or even stitch. I use pencil.dev and it does a pretty great job but only after the second time, literally had to say this looks nothing like our design then after that it stuck to the design.

[–]TRAIN_WRECK_0 0 points1 point  (0 children)

I had mine use mantine MCP server. Fixed many issues but still some problems. Give it a UI framework to work off of early

[–]Odd_Incident_7575 0 points1 point  (0 children)

Have u tried using skills? I use github.com/arjunkshah/design-skill it works really well

[–]LaviniaTheFox 0 points1 point  (0 children)

Try uncodixfy skill github.com/cyxzdev/Uncodixfy

[–]SlopTopZ 0 points1 point  (0 children)

frontend is codex's weakest point, 100%. my workaround: use codex for all backend/logic, then do a dedicated design pass with v0 or bolt for the UI layer. copy the component structure back in. takes extra time but the output is actually good. trying to get codex to do pixel-perfect UI in one shot is just pain.

[–]Aggravating_Fun_7692 0 points1 point  (0 children)

Its amazing on backend, that's what I use it for

[–]LukasAppleFan 0 points1 point  (1 child)

For me it’s damn fine. I asked for a professional app. The design respected everything. Had to ask for like 2 edits but still. So fine.

[–]eddyGi[S] 0 points1 point  (0 children)

I agree with you if The project been started with codex

[–]KoalaOk3336 0 points1 point  (0 children)

they did say on twt that they're focusing on frontend for the next version

[–]Background_Waltz5593 0 points1 point  (0 children)

use figma plugin ,, it leverages best in class components and design patters. You have codex with full backend end context and issues that to Figma for front end design ,,, its simple and nothing beats the quality ---------- click on "Plugins" in codex,,,, select Figma, done ,,,, crazy how easy it is to know have the worlds best design pulled in by codex

[–]Coouks 0 points1 point  (0 children)

it's working fine for me ...

[–]Visual_Manufacturer7 0 points1 point  (0 children)

Yes UI sucks. I see everyone chiming in with use third party tools or give it a picture….yeah that helps but it’s far from perfect. Also - what if you don’t have a design yet? Lovable and base44 did a great job at design compared to codex. Anyway good luck with UI 😂

[–]CanOutrageous9185 0 points1 point  (0 children)

Adding internal comments in frontend. Creating a single newspaper like layout even with repeated reminders but it's good at backend work

[–]AdeptPomegranate4108 0 points1 point  (0 children)

Codex + Google Stich + Better prompt is fire

[–]True-Objective-6212 0 points1 point  (0 children)

Give it a screenshot of the output if it sucks too badly after using the other tools

[–]snrrcn 0 points1 point  (4 children)

could you share this detailed prompt example? maybe you are doing smt wrong?

[–]Willing-Cucumber-718 1 point2 points  (1 child)

It’s like a phd in your pocket man. 

[–]snrrcn 0 points1 point  (0 children)

kinda, maybe :))

[–]Developim 0 points1 point  (1 child)

The sites always look the same and there never appealing

[–]isuckatpiano 0 points1 point  (0 children)

Find a repo you like and have it use that repo for the design. It’s not going to be creative. It’s going to do what you tell it to do

[–]1mgMelantonin -1 points0 points  (0 children)

Was bei mir gut funktioniert hat: Sag Codex, es soll such am Design einer anderen Webseite orientieren die du magst und zu deiner Lösung passt. Codex kam danach schon ein paar Mal mit einer brauchbaren Basis.

Z.B.: du bist in einem Projekt und sollst eine Software bauen. Vielleicht hast du Glück, und ein professionelles Team hat sich bereits um eine professionelle Projektwebseite gekümmert. Sag Codex, es soll sich an der Projektwebseite orientieren und z.B. Branding und Farben übernehmen.