Skip to main content

Figma UI Design SkillGuide

Images & Masking

Using Images with Figma

Using images in Figma is a straightforward process that allows you to incorporate visual assets into your designs. Here’s a detailed guide on how to use images in Figma:
  1. Importing Images:
    • Click on the “Insert” menu at the top of the Figma interface.
    • Choose “Image” from the dropdown menu.
    • A file dialog will appear, allowing you to select an image file from your computer. Click “Open” to import the image.
  2. Placing Images on the Canvas:
    • After importing the image, your cursor will turn into a crosshair.
    • Click and drag on the canvas to define the dimensions and placement of the image. The image will be inserted within a frame.
  3. Adjusting Image Size:
    • Select the image within the frame by clicking on it.
    • Grab one of the corner handles of the frame and drag it to resize the image proportionally.
    • Hold the “Shift” key while resizing to maintain the aspect ratio of the image.
  4. Image Properties:
    • With the image selected, you can adjust its properties in the “Properties” panel on the right.
    • You can change the opacity, blend mode, and effects (like shadows or blurs) of the image using the relevant settings.
  5. Replacing Images:
    • To replace an image, right-click on the image within the frame.
    • Choose “Replace image” from the context menu, and then select a new image from your computer.
  6. Cropping Images:
    • Select the frame containing the image.
    • Click the “Edit” button on the top toolbar or right-click the frame and select “Edit”.
    • Use the crop tool to adjust the visible portion of the image. Click “Done” to confirm the crop.
  7. Resizing Frames:
    • If you want to resize the frame without affecting the image inside, select the frame, and adjust its dimensions. The image will remain intact.
  8. Using Images as Backgrounds:
    • To use an image as a background for your design, create a new frame and set the image as the background of that frame. Place other elements on top of this frame to create your design.
  9. Exporting Images:
    • If you need to export images from Figma, select the frame containing the image.
    • Go to the “File” menu and choose “Export” to save the image in your desired format (PNG, JPEG, SVG, etc.).
Remember that images you import into Figma are linked, not embedded. This means that if you move or delete the image file from your computer, the link to the image in Figma will be broken. To ensure your designs remain intact, it’s best to keep the image files in a location where they won’t be moved or deleted.

Masking in Figma

Masking is a technique used in Figma to control the visibility of certain parts of an image or design element by using another shape or image as a “mask”. The mask defines the area through which the content is revealed or hidden. This is a powerful feature that allows you to create interesting visual effects and focus attention on specific parts of your design. Here’s a detailed explanation of masking and its uses in Figma: Creating a Mask:
  1. Insert the Masking Element:
    • Place the element you want to use as a mask on the canvas. This can be a shape, text, or even an imported image.
  2. Place the Content:
    • Position the content (image or design element) that you want to mask directly above the masking element.
  3. Select Both Elements:
    • Click on the masking element to select it, then hold down the “Shift” key and click on the content element. Both elements should now be selected.
  4. Apply Masking:
    • Right-click on the selected elements and choose “Mask with Shape” from the context menu, or use the keyboard shortcut “Cmd/Ctrl + Shift + M”. The content element will now be masked by the shape of the masking element.
Uses of Masking in Figma:
  1. Image Cropping:
    • Masking allows you to crop images into various shapes. You can use a circular mask to create rounded profile pictures or thumbnail images with custom shapes.
  2. Text Effects:
    • Apply text inside a shape and mask the text with the shape. This is useful for creating text effects where the text conforms to a specific shape or follows a curved path.
  3. Highlighting Specific Content:
    • Use masking to reveal specific portions of an image while hiding the rest. This is helpful for emphasizing a particular detail within a larger image.
  4. Creating Complex Shapes:
    • Combine multiple shapes to create intricate designs or icons. You can mask one shape with another to achieve complex visual effects.
  5. Layering and Depth:
    • Employ masking to create layers and depth in your design. You can mask elements to appear as if they’re behind or within other elements.
  6. Interactive Design:
    • Masking is essential for creating interactive elements. For example, you can use masking to reveal content when a user interacts with a button or hovers over an area.
  7. Texture and Pattern Overlay:
    • Overlay textures, patterns, or gradients on images using masking. This technique can add visual interest and depth to your designs.
  8. Creating Cutout Effects:
    • Achieve cutout effects by placing content on top of a shape that acts as a “window”. The content appears within the shape’s bounds, creating a visually appealing effect.
  9. Focus on Detail:
    • Masking can draw attention to specific parts of your design, allowing you to guide the viewer’s focus towards important elements.
Masking in Figma provides you with a versatile tool for creating unique and engaging design compositions. It enables you to experiment with various visual treatments and add a layer of creativity to your UI designs.