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: Command Palette Interface.
Required content and structure
Offer searchable actions with keyboard shortcuts, groups and a focused empty 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: light neutral canvas, graphite text, cobalt accent and precise hairline separators; dense but legible hierarchy. Keep type, spacing and color roles consistent. Prioritize the task over decorative elements and avoid a generic collection of unrelated cards.
Content preparation
Collect available actions, groups, shortcuts and any prerequisites. Decide how unavailable actions are explained and which query terms should match each action.
Layout and behavior
Open the palette with focus in search and provide a clear highlighted result. Keep keyboard movement predictable and show enough context for actions with similar names.
Task-specific acceptance check
- Manage focus correctly when opening, selecting and dismissing.
- Open and dismiss from several parts of the interface.
- Test no results, disabled actions and Escape; focus should return to the control that opened the palette.
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 Command Palette Interface. 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: Offer searchable actions with keyboard shortcuts, groups and a focused empty state. Use the following task-specific layout guidance when translating the image into editable elements: Open the palette with focus in search and provide a clear highlighted result. Keep keyboard movement predictable and show enough context for actions with similar names.
Visual direction from the example brief
light neutral canvas, graphite text, cobalt accent and precise hairline separators; dense but legible hierarchy.
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: Offer searchable actions with keyboard shortcuts, groups and a focused empty state. Manage focus correctly when opening, selecting and dismissing. 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 Command Palette Interface Design Prompt
Use this command palette interface design prompt to offer searchable actions with keyboard shortcuts, groups and a focused empty state.
The reference is an AI-generated concept. The instructions below describe what to build and test; the image does not demonstrate working behavior.
Specify the Keyboard Path
A command palette is a fast route to actions, so focus behavior matters as much as search ranking.
The prompt should explain opening, selecting, empty results and dismissal. Open the palette with focus in search and provide a clear highlighted result. Keep keyboard movement predictable and show enough context for actions with similar names.
From the Prompt
Open the palette with focus in search and provide a clear highlighted result.
Make It Your Own
Search [ACTIONS] by name, group results and display supplied shortcuts. Focus the search on opening, support arrow-key selection and restore focus to the invoking control on dismissal.
Prepare the Command Palette Interface Content
The centered palette separates quick actions, navigation destinations and tools. Supply the actual command inventory and shortcut bindings before adding search.
Collect available actions, groups, shortcuts and any prerequisites. Decide how unavailable actions are explained and which query terms should match each action.
From the Prompt
Offer searchable actions with keyboard shortcuts, groups and a focused empty state.
Make It Your Own
For [PROJECT], use [APPROVED_CONTENT] as the source for this command palette interface. Collect available actions, groups, shortcuts and any prerequisites. Decide how unavailable actions are explained and which query terms should match each action. Identify missing inputs before replacing them with demonstration content.
Dismiss Without Selecting
The bottom area illustrates a no-results explanation. Show this only when the query has no matches, and test Escape, arrow-key navigation and focus return separately from the static example.
Escape should close the palette and return the user to their previous position. A query with no matches should remain editable rather than trapping focus. Open and dismiss from several parts of the interface. Test no results, disabled actions and Escape; focus should return to the control that opened the palette.
From the Prompt
Manage focus correctly when opening, selecting and dismissing.
Make It Your Own
Review the command palette interface against this requirement: Manage focus correctly when opening, selecting and dismissing. Open and dismiss from several parts of the interface. Test no results, disabled actions and Escape; focus should return to the control that opened the palette. Preserve approved content and revise only the parts that fail this check.
Review Your Command Palette Interface Result
A convincing screen is not a working backend. Test validation, permissions, persistence and failure behavior separately before connecting real data.
- Open and dismiss from several parts of the interface. Test no results, disabled actions and Escape; focus should return to the control that opened the palette.
Follow-Up Prompt
Use this after the first result. It narrows the revision to the most important part of this task.
Refine the current command palette interface. Open and dismiss from several parts of the interface. Test no results, disabled actions and Escape; focus should return to the control that opened the palette. Preserve the approved content and visual direction; change only the parts needed to resolve these issues.
