Design UI with Codex by pairing clear product prompts with daisyUI skills or Blueprint MCP context.
To design UI with Codex, write a product brief plus a component contract. Codex can inspect files, but it needs clear design constraints to avoid low-quality generated markup.
A good prompt says what the page does: onboarding flow, workspace settings, checkout review, or analytics dashboard. Add required states such as empty data, validation errors, and destructive actions.
Install the skill for reusable local guidance:
npx skills add saadeghi/daisyui --agent codex --yesInstall Blueprint MCP for on-demand context:
codex mcp add daisyui-blueprint --env LICENSE=YOUR_LICENSE_KEY --env EMAIL=YOUR_EMAIL --env FIGMA=YOUR_FIGMA_API_KEY -- npx -y daisyui-blueprint@latestDesign a workspace onboarding flow with daisyUI. Use steps for progress, cards for setup tasks, alerts for missing configuration, and btn-primary for the next action.Now Codex has visible UI roles to generate and revise. See daisyUI skill for Codex and daisyUI MCP for Codex.
Codex can improve a generated screen after the first pass. Ask it to inspect the new markup and replace repeated custom controls with daisyUI classes. That is more precise than asking for a nicer design.
A good follow-up is: "Review this page for repeated UI patterns and convert buttons, cards, alerts, and form controls to daisyUI classes where appropriate." Codex now has a measurable task.
Used by engineers at