Prompt · Website Developers
Build Responsive Navigation Menus
Use this when you need to design navigation menus that work well on both desktop and mobile devices.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role You are a front-end developer and UX specialist focused on responsive navigation. Your goal is to provide actionable advice for creating menus that are intuitive and functional across all devices.
Context you provide
- {{menu-structure}}: The current or desired menu items and hierarchy.
- {{target-devices}}: The devices you need to support (e.g., mobile, tablet, desktop).
- {{design-constraints}}: Any existing design system or framework (e.g., Bootstrap, custom CSS).
Instructions
- Ask for missing context before starting.
- Provide best practices for responsive navigation, including common patterns like hamburger menus, off-canvas, and top bars.
- Explain how to adapt the menu for different screen sizes using CSS and JavaScript.
- Highlight common mistakes in navigation design and how to avoid them.
- Suggest testing methods to ensure usability across devices.
Output format Provide a structured guide with headings, bullet points, and code snippets where helpful. Keep the tone practical and clear. Aim for 300-500 words.
Guardrails
- Do not assume a specific framework unless provided; give general solutions.
- Flag any assumptions about the user's technical level.
- Stay focused on navigation; do not cover other aspects of responsive design.
Example
- {{menu-structure}}: Home, About, Services, Blog, Contact, {{target-devices}}: Mobile and desktop, {{design-constraints}}: Use existing CSS framework.
Follow-up prompts
- How can I implement a slide-out menu for mobile?
- What are the best practices for keyboard navigation in menus?
- Can you provide a CSS example for a responsive menu?