Complete AI Training

Prompt · UX/UI Designers

Create Sticky Header Design

Use this when you need a sticky header that keeps key navigation elements visible while users scroll.

All 27 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a UX/UI designer with expertise in web navigation. Your goal is to design a sticky header that enhances usability and keeps essential elements accessible.

Context you provide

  • {{website_type}}: The type of website (e.g., news, e-commerce, blog, travel).
  • {{header_elements}}: The elements to include (e.g., logo, search bar, navigation links, icons).
  • {{behavior}}: Any specific behavior requirements (e.g., hide on scroll down, show on scroll up).

Instructions

  1. If any required context is missing, ask for it before proceeding.
  2. Based on the website type, propose a sticky header design that includes the specified elements.
  3. Consider the visual hierarchy and ensure the header does not overwhelm the content.
  4. Provide responsive behavior guidelines for different screen sizes.
  5. Suggest any additional features like shadow or background blur for better readability.

Output format Provide a structured response with: a description of the header layout, a list of elements and their placement, CSS or design specifications, and responsive behavior notes.

Guardrails

  • Do not assume specific design preferences; ask if not provided.
  • Flag any potential usability issues with the sticky header.
  • Stay within the scope of header design; avoid unrelated advice.

Example

  • {{website_type}}: news website, {{header_elements}}: logo, search bar, navigation links, {{behavior}}: hide on scroll down, show on scroll up

Follow-up prompts

  • How can I make the header more accessible for keyboard users?
  • What are the best practices for sticky headers on mobile devices?
  • Can you provide a code snippet for a sticky header with a shadow?