Use the Prompt
Add Your Brief
Add your context below. It will be included with the prompt when you copy or download.
Create an interactive frontend prototype using the existing project stack and explicitly labeled demo data for [PROJECT] and [AUDIENCE]. The task is: Two-Factor Setup Flow.
Required content and structure
Explain setup steps, code verification, recovery codes and completion state.
Use [APPROVED_CONTENT] as the source of names, dates, figures, claims and destinations. List missing inputs before substituting anything. If a demonstration is needed, label its content as fictional. Do not invent customer quotes, rankings, partner logos or product capabilities.
Design direction
Use [BRAND_RULES] and the design system already selected in the project. If no system is supplied, start with this direction: warm white, ink text and restrained mint selected states; generous spacing and simple controls. Keep type, spacing and color roles consistent. Prioritize the task over decorative elements and avoid a generic collection of unrelated cards.
Content preparation
Prepare the actual enrollment stages, code validation rules, recovery instructions and completion criteria. Use demonstration secrets that cannot authenticate a real account.
Layout and behavior
Explain setup, verification and recovery as separate steps. Give recovery information enough space to read and make the completion state depend on successful verification.
Task-specific acceptance check
- Keep recovery instructions readable and never use real secret keys in examples.
- Test an incorrect code, leaving before verification and returning to recovery instructions.
- Never present illustrative codes as usable credentials or mark setup complete merely because a QR image was shown.
Implementation and review
Keep text editable. Use semantic structure, descriptive controls, visible keyboard focus and appropriate empty/error states. Check narrow and wide layouts. Respect reduced-motion preferences. Preserve any existing project framework and dependencies; do not silently replace the stack. Return the editable files and explain any incomplete behavior or unsupported inputs. Review this specific task before proposing extra features.
Reference attachment and reconstruction goal
Attach reference.webp from this prompt’s download bundle alongside this prompt in OpenDesign. Build an editable result with a similar composition and hierarchy; do not embed the whole reference image as the finished interface. Preserve approved project content and brand rules if they conflict with fictional sample labels. If the image is missing or unreadable, ask for it instead of claiming visual fidelity.
Reference composition and content
Use the attached reference.webp as the visual reference for Two-Factor Setup Flow. Before building, identify the major regions from top to bottom, their relative widths and heights, alignment, spacing, typography hierarchy, surface colors, borders, imagery and repeated components. Preserve those relationships rather than substituting a generic template. Required task content: Explain setup steps, code verification, recovery codes and completion state. Use the following task-specific layout guidance when translating the image into editable elements: Explain setup, verification and recovery as separate steps. Give recovery information enough space to read and make the completion state depend on successful verification.
Visual direction from the example brief
warm white, ink text and restrained mint selected states; generous spacing and simple controls.
Interaction specification
The reference is a static concept: the behavior below is a requirement to implement, not proof that the picture already works. Copy the customized prompt into your working project. Start with the core task: Explain setup steps, code verification, recovery codes and completion state. Keep recovery instructions readable and never use real secret keys in examples. For each visible control, specify its trigger, affected state and feedback; implement local changes with consistent state across related views. Give search and filters real results, selection controls an explicit active state, and save actions visible pending/success/failure feedback where relevant. Do not add unrelated workflows. Use proper links for navigation, buttons for actions and accessible names for icon controls. Do not imply a backend operation succeeded when only a local demo changed.
Visual comparison and delivery
- Compare the result with the attached image at matching proportions. Review major region placement, relative image sizes, line breaks, spacing, typography hierarchy, contrast, active states and content density before polishing decorative details.
- Then test the narrow layout without squeezing desktop text into tiny labels.
- Keep logos, photos and icons as separate assets and all meaningful labels editable. List any unavailable fonts/assets and any intentional departures. Return the working files plus a concise account of implemented behavior and remaining integrations; do not promise a pixel-identical result from the prompt alone.
Download Prompt + Image
Includes the complete prompt and full-size reference image. Attach both in OpenDesign to guide the layout.
How to Write a Two-Factor Setup Flow Design Prompt
Use this two-factor setup flow design prompt to explain setup steps, code verification, recovery codes and completion state.
The reference is an AI-generated concept. The instructions below describe what to build and test; the image does not demonstrate working behavior.
Make Recovery Part of Setup
A two-factor setup flow should explain verification and recovery before declaring completion.
Recovery codes need a deliberate handling step rather than a decorative success screen. Explain setup, verification and recovery as separate steps. Give recovery information enough space to read and make the completion state depend on successful verification.
From the Prompt
Explain setup, verification and recovery as separate steps.
Make It Your Own
Show setup instructions, dummy verification values and sample recovery codes. Explain how to store recovery information and mark completion only after the supplied verification step.
Prepare the Two-Factor Setup Flow Content
The code entry has a dedicated verification state; handle invalid and expired codes without exposing sensitive account data.
Prepare the actual enrollment stages, code validation rules, recovery instructions and completion criteria. Use demonstration secrets that cannot authenticate a real account.
From the Prompt
Explain setup steps, code verification, recovery codes and completion state.
Make It Your Own
For [PROJECT], use [APPROVED_CONTENT] as the source for this two-factor setup flow. Prepare the actual enrollment stages, code validation rules, recovery instructions and completion criteria. Use demonstration secrets that cannot authenticate a real account. Identify missing inputs before replacing them with demonstration content.
Fail Verification Once
Recovery codes are shown separately from the current authenticator code; specify secure handling and require an explicit acknowledgement before completion.
Preserve the instructions and give a clear retry path. Do not expose real secret keys or imply setup is complete before verification succeeds. Test an incorrect code, leaving before verification and returning to recovery instructions. Never present illustrative codes as usable credentials or mark setup complete merely because a QR image was shown.
From the Prompt
Keep recovery instructions readable and never use real secret keys in examples.
Make It Your Own
Review the two-factor setup flow against this requirement: Keep recovery instructions readable and never use real secret keys in examples. Test an incorrect code, leaving before verification and returning to recovery instructions. Never present illustrative codes as usable credentials or mark setup complete merely because a QR image was shown. Preserve approved content and revise only the parts that fail this check.
Review Your Two-Factor Setup Flow Result
A convincing screen is not a working backend. Test validation, permissions, persistence and failure behavior separately before connecting real data.
- Test an incorrect code, leaving before verification and returning to recovery instructions. Never present illustrative codes as usable credentials or mark setup complete merely because a QR image was shown.
Follow-Up Prompt
Use this after the first result. It narrows the revision to the most important part of this task.
Refine the current two-factor setup flow. Test an incorrect code, leaving before verification and returning to recovery instructions. Never present illustrative codes as usable credentials or mark setup complete merely because a QR image was shown. Preserve the approved content and visual direction; change only the parts needed to resolve these issues.
