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: Global Search Results.
Required content and structure
Show result types, matching excerpts, filters and a useful no-results 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
Define searchable content types, matching rules, excerpts and filter behavior. Prepare examples where the same query returns several types or no results.
Layout and behavior
Keep the query visible while changing result type. Show enough context in each result to distinguish similarly named items without opening them all.
Task-specific acceptance check
- Preserve query context while moving between result types.
- Switch types, open a result and return.
- Test a long query, unknown terms and unavailable results; the original query and chosen filters should remain understandable.
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 Global Search Results. 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: Show result types, matching excerpts, filters and a useful no-results state. Use the following task-specific layout guidance when translating the image into editable elements: Keep the query visible while changing result type. Show enough context in each result to distinguish similarly named items without opening them all.
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: Show result types, matching excerpts, filters and a useful no-results state. Preserve query context while moving between result types. 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 Global Search Results Design Prompt
Use this global search results design prompt to show result types, matching excerpts, filters and a useful no-results state.
The reference is an AI-generated concept. The instructions below describe what to build and test; the image does not demonstrate working behavior.
Keep the Query Visible Across Types
Global search helps people find different kinds of content without restarting their search.
Matching excerpts should explain why a result appears, while filters retain the query context. Keep the query visible while changing result type. Show enough context in each result to distinguish similarly named items without opening them all.
From the Prompt
Keep the query visible while changing result type.
Make It Your Own
Show [RESULT_TYPES], matching excerpts and active filters for [QUERY]. Preserve the query when changing types and offer useful filter adjustments for no matches.
Prepare the Global Search Results Content
Results include documents, notes, tasks, projects and people, each with its own metadata. Define the searchable fields and result destination for each type.
Define searchable content types, matching rules, excerpts and filter behavior. Prepare examples where the same query returns several types or no results.
From the Prompt
Show result types, matching excerpts, filters and a useful no-results state.
Make It Your Own
For [PROJECT], use [APPROVED_CONTENT] as the source for this global search results. Define searchable content types, matching rules, excerpts and filter behavior. Prepare examples where the same query returns several types or no results. Identify missing inputs before replacing them with demonstration content.
Switch to an Empty Result Type
The right rail separates several filters and adds no-result guidance. Check combined filtering, permission boundaries and query preservation when opening and returning from a result.
Keep the original query and other filters visible. The user should be able to broaden the search without re-entering it or losing their place. Switch types, open a result and return. Test a long query, unknown terms and unavailable results; the original query and chosen filters should remain understandable.
From the Prompt
Preserve query context while moving between result types.
Make It Your Own
Review the global search results against this requirement: Preserve query context while moving between result types. Switch types, open a result and return. Test a long query, unknown terms and unavailable results; the original query and chosen filters should remain understandable. Preserve approved content and revise only the parts that fail this check.
Review Your Global Search Results Result
A convincing screen is not a working backend. Test validation, permissions, persistence and failure behavior separately before connecting real data.
- Switch types, open a result and return. Test a long query, unknown terms and unavailable results; the original query and chosen filters should remain understandable.
Follow-Up Prompt
Use this after the first result. It narrows the revision to the most important part of this task.
Refine the current global search results. Switch types, open a result and return. Test a long query, unknown terms and unavailable results; the original query and chosen filters should remain understandable. Preserve the approved content and visual direction; change only the parts needed to resolve these issues.
