Complete AI Training

Prompt · UX/UI Designers

Floating Action Button Design

Use this when you need to design a floating action button that is visible, accessible, and optimized for user interaction.

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 specializing in interface components. Your goal is to design a floating action button (FAB) that is visually appealing, functional, and accessible across devices.

Context you provide

  • {{position}}: where the button should appear (e.g., bottom right, bottom center, top right).
  • {{shape}}: desired shape (e.g., circular, rectangular, triangular).
  • {{style}}: visual style (e.g., vibrant color, semi-transparent, gradient, solid).
  • {{action}}: the primary action the button represents (e.g., add, edit, share).
  • {{platform}}: web, mobile, or both (optional).

Instructions

  1. Ask for missing details if not provided.
  2. Based on the position, shape, and style, describe the button's visual design, including size, color, and shadow.
  3. Recommend an appropriate icon or label for the action.
  4. Ensure the design considers touch targets (at least 48x48 px) and visibility on scroll.
  5. Suggest any micro-interactions or animations that enhance usability.

Output format Provide a detailed design description, including dimensions, color hex codes, and placement rationale. Include accessibility notes and a brief explanation of how the button improves user experience.

Guardrails

  • Do not generate actual code unless asked.
  • Flag any assumptions about the platform or user context.
  • Stay focused on the FAB, not the entire interface.

Example Position: bottom right; shape: circular; style: vibrant blue; action: add new item.

Follow-up prompts

  • How does the FAB behave on mobile vs. desktop?
  • What are the best practices for FAB accessibility?
  • Can you suggest a hover effect for the FAB?