Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Create a Simple UI Mockup in Figma

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

This guide walks you through creating a simple UI mockup in Figma, from setting up a frame to exporting a shareable design. You'll learn the essential tools—frames, shapes, text, and auto layout—so you can turn a rough idea into a clean, clickable prototype. No design experience is required, just a free Figma account and a few minutes.

What You'll Need

  • A free Figma account (sign up at figma.com)
  • Figma desktop app or the browser version (both work the same)
  • A basic idea of the screen you want to mock up (e.g., a login page, a profile card, a settings screen)
  • Optional: reference images or a style guide for colors and fonts

Step-by-Step

  1. Create a new file. Log in to Figma, click “New design file” on the dashboard. You'll see a blank canvas with a toolbar on top and layers panel on the left.
  2. Add a frame. Select the “Frame” tool (shortcut: F) from the toolbar. In the right sidebar, choose a preset device size, like “iPhone 14” or “Desktop 1440×1024”. Click and drag on the canvas to draw the frame. This frame acts as your artboard.
  3. Set a background color. With the frame selected, go to the “Design” panel on the right. Find “Fill” and click the color swatch. Choose a light gray or white for a clean base. You can also use the eyedropper to pick a color from an existing image.
  4. Add a header bar. Select the “Rectangle” tool (shortcut: R) from the toolbar. Draw a rectangle across the top of the frame. In the right panel, adjust its width to match the frame (e.g., 390px for iPhone 14) and set a height around 80px. Give it a dark fill color, like #333333.
  5. Add text. Select the “Text” tool (shortcut: T) from the toolbar. Click inside the header bar and type a title, such as “My App”. In the right panel, set the font (e.g., Inter), size (e.g., 24), color (white), and alignment (center). Use the alignment options in the toolbar to center the text horizontally.
  6. Add a button. Draw a rectangle for a button, say 200×50px. Place it in the middle of the screen. Set its fill to a brand color like #4A90E2. Add a text label inside it, like “Sign In”. To center the label, use the “Align horizontal centers” and “Align vertical centers” buttons in the toolbar (or use Auto Layout).
  7. Add an input field. Draw another rectangle for a text input, say 300×40px. Give it a white fill and a 1px gray stroke (#DDDDDD). Add a text placeholder inside, like “Email”. This visually communicates where the user types.
  8. Group related elements. Select multiple objects by holding Shift and clicking each one. Right-click and choose “Group” (shortcut: Ctrl+G on Windows, Cmd+G on Mac). Grouping helps keep your layers organized.
  9. Use Auto Layout (optional but powerful). Select a group or frame, then click the “Auto layout” button in the right panel (looks like a plus in a square). This makes the elements inside automatically space and align. For example, select the button and its label, then apply auto layout to center them perfectly.
  10. Add an image. Drag an image file from your computer onto the canvas. Resize it by dragging the corners. To make it fit a shape, select both the shape and the image, then right-click and choose “Use as mask”. This is great for profile photos.
  11. Create a simple prototype. Click the “Prototype” tab in the right sidebar. Select the button, then drag the blue arrow that appears to another frame (or to the same frame). In the “Interaction details” panel, choose “On click” and “Navigate to”. This creates a clickable link between screens.
  12. Preview your mockup. Click the “Present” button (play icon) in the top-right toolbar. This opens a browser preview where you can click through your prototype. Test the interactions and see how it feels.
  13. Export your mockup. Go back to the design tab. Select the frame you want to export. In the right panel, scroll to “Export”. Choose a format (PNG or SVG) and click “Export”. You can also export the entire file as a PDF or share it via a link.

Common Mistakes

  • Not using frames. Drawing directly on the canvas without a frame makes it hard to size and export properly. Always start with a frame.
  • Ignoring spacing. Elements crammed together look unprofessional. Use consistent margins (e.g., 16px) and padding. Auto Layout helps here.
  • Using too many fonts. Stick to one or two font families. Overloading with different fonts makes the mockup look messy.
  • Forgetting to group. Without grouping, moving a button means moving its label separately. Group or use Auto Layout to keep things together.
  • Not naming layers. Default names like “Rectangle 1” are confusing. Rename layers in the layers panel (double-click the name) to “Header”, “Button”, etc.

Tips

  • Use components for repeated elements. If you have multiple buttons, create a component (right-click → Create component). Then reuse it. Change the main component and all instances update.
  • Leverage grids. In the frame settings, add a 12-column grid (or 8pt grid) to align elements easily. This makes your design look structured.
  • Use Figma's community resources. There are thousands of free UI kits and templates. You can duplicate them to learn or use as a starting point.
  • Shortcut keys save time. Learn the basics: V for move, R for rectangle, T for text, F for frame, Ctrl+D to duplicate.
  • Keep a consistent color palette. Define colors as styles (in the Design panel, click the four-dot icon next to Fill → Create style). Then reuse them.

Troubleshooting

  • Elements won't align. Select the elements, then use the alignment buttons in the toolbar (Align left, Align center, etc.). If they don't align as expected, check that they are not inside a group with different constraints.
  • Auto Layout isn't working. Make sure you have selected a frame or group, not a single shape. Also check the padding and spacing values in the Auto Layout panel—they might be set to 0.
  • Text is too small or cut off. Click the text layer, then drag the bounding box to resize. Or adjust the font size in the text settings. For long text, increase the frame height.
  • Prototype doesn't work. Ensure you have at least two frames and that the interaction is set correctly. Check that the trigger is “On click” and the action is “Navigate to”. Also make sure the frames are in the same file.
  • Export looks blurry. Increase the export scale to 2x or 3x in the export settings. Also, export as PNG for images, not SVG (SVG is for vector graphics).

Frequently Asked Questions

Q: Do I need to know design to use Figma?
A: No, Figma is beginner-friendly. This guide covers the basics, and you can learn more as you go.

Q: Can I use Figma for free?
A: Yes, Figma has a free plan with unlimited files and viewers. It's enough for personal projects and small teams.

Q: How do I share my mockup with someone?
A: Click the “Share” button in the top-right corner. You can invite people via email or copy a link. Set the permission to “Can view” for viewers.

Q: Can I create a clickable prototype without coding?
A: Absolutely. Use the Prototype tab to connect frames and set interactions. No code needed.

Q: What's the difference between a frame and a group?
A: A frame is a container that can have its own layout and constraints. A group is just a collection of objects. Frames are more flexible for responsive design.

Q: How do I change the background color of the entire frame?
A: Select the frame, then in the Design panel, click the Fill color swatch and choose a color. You can also add a gradient or image.