Skip to main content
All CollectionsDeveloper's Guide to Anima
Fixing Blurry Designs: How to Resolve Text Overlap from Background Images in Figma Exports
Fixing Blurry Designs: How to Resolve Text Overlap from Background Images in Figma Exports
Orit Golowinski avatar
Written by Orit Golowinski
Updated over 3 months ago

When exporting designs from Figma to code, particularly for front-end applications, you might encounter a frustrating issue where text appears blurry or duplicated. This often happens due to how Figma processes background images that contain text. If you’ve encountered a scenario where the text appears doubled or blurry, this article will walk you through the problem and provide a simple solution to resolve it.

Before

After

The Problem: Background Image Text Overlap

In certain designs, especially when working with tools like Figma, the export process can sometimes cause an unintended issue. Here's what typically happens:

  1. Background Image with Text: Your design in Figma includes a background image, and this background image contains text as part of the overall design.

  2. Design Components Built on Top of the Background: When components (such as buttons, input fields, or other text) are layered over this background in Figma, the text that is part of the background image becomes redundant with the text in the components.

  3. Export Process: When exporting to code or even as an image, saves the entire background image including any text that was originally part of it. When you render the design in a browser or a development environment like VS Code, it displays both the background text and the component text, creating a "double text" effect that appears blurry or overlapped.


The Solution: Replace the Background Image

To resolve this issue, you need to replace the background image that contains text with a clean version that doesn’t include any text. Here’s how you can fix it:

  1. Identify the Problematic Background Image:

    • Open your Figma design and identify the background image that contains text as part of its design.

    • If this image contains elements that should not overlap with your component-based text, you will need to create a new version of this image.

  2. Remove the Text from the Background Image:

    • In Figma, edit the background image by removing or hiding the text. Save this new version of the image as a "clean" background, ensuring it contains no text or overlapping elements.

  3. Replace the Image in Your Project:

    • In your project folder, locate the background image file. Replace this image with the clean version you created from Figma.

    • Alternatively, if you are using VS Code or a similar code editor, you can directly replace the background image file in your assets folder.

  4. Update the Code:

    • Ensure that your code points to the new background image without text. If you're using CSS or a style framework, check that the correct background image is being applied to the relevant container or section of your design.


Why This Works

By separating the background image from the text in your components, you ensure that the text is only rendered once — via the components and not the background. This eliminates the double rendering effect and resolves the blurry or overlapped appearance. The result is a cleaner, more precise design, where text and other elements look sharp and properly aligned.


By following these steps, you’ll be able to eliminate the issue of blurry or overlapping text and ensure your design is crisp and professional once exported. With a clean background and correctly layered components, your design will render as intended, with sharp, legible text.


Did this answer your question?