Skip to main content
Question

Icons inside button component shown distorted

  • July 30, 2025
  • 7 replies
  • 133 views

Monica13

Hi I’m working in a Design System where I’m using an Icon button with what is called a Master icon (so the icon inherit the color from different states or modes). When using this icon button inside another. component is shown distorted, but very randomly I would say. 
 

Here is an example, on the bottom is the base component of a File uploader component and the icon button with the bin looks fine, but when I take these base components into the main components (top one), it looks distorted. 

I assume this is a Figma bug, because sometimes happens, sometimes not and the button is done exactly in the same way as the other button component that shows Label + button.

Is anyone having the same issues?

 

7 replies

Harryskin
  • New Member
  • July 30, 2025

Hey! I’ve run into similar behavior when nesting icon buttons inside larger components—especially when using Master icons that inherit state-based styles. It does seem like a Figma rendering quirk, particularly when the distortion appears inconsistently. In my case, the issue was more noticeable when switching between variants or when auto layout constraints weren’t fully aligned across nested layers.

 

A few things that helped:

- Double-checking that the icon’s constraints and resizing settings match across all instances.

- Flattening or detaching the icon temporarily to test if the distortion persists.

- Ensuring that the parent component doesn’t override inherited styles unexpectedly.

 

It’s definitely worth reporting as a bug if it keeps happening randomly. Meanwhile, I’ve started documenting these edge cases in my design system to avoid surprises during handoff.😊


Monica13
  • Author
  • New Member
  • August 1, 2025

Thanks for your response! I checked all this things already and now I’m pretty sure this is a rendering problem from Figma. It’s getting worst and worst unfortunately, also the file performance :/


louis78
  • New Member
  • September 28, 2025

Icons inside a button often look distorted due to alignment or scaling issues — the best fix is to make the button use display: flex with align-items: center and justify-content: center, set a consistent line-height: 1, and explicitly size the icon (e.g., width: 1em; height: 1em;) so it scales evenly alongside text; if you’re using Tailwind or a UI library, just add flex items-center gap-2 to the button and give the icon a fixed size like w-5 h-5 for clean alignment.

thefrlegendsapks.com


Ahmad Ali
  • New Member
  • December 21, 2025

I’ve noticed that UI issues like distorted icons can really affect the overall user experience. While exploring different platforms, I came across which stands out for its clean layout and smooth performance. It’s a good example of how thoughtful design improves usability. More details here: https://thexuperstv.com/


Ahmad Ali
  • New Member
  • December 21, 2025

Design consistency makes a big difference in usability. I recently explored The Xuper TV and liked how clean and well-structured the interface is, with smooth navigation throughout. You can check it out at https://thexupertv.co/


Ahmad Ali
  • New Member
  • December 21, 2025

Interface consistency is important for a good user experience. I recently checked out The Xuper TV and liked how straightforward and smooth the layout feels. Everything is easy to find and works without hassle. You can take a look at https://thexupertvapp.com/


Ahmad Ali
  • New Member
  • December 21, 2025

Small UI issues like distorted icons can have a big impact on usability. While exploring well-designed platforms, I came across, which does a good job of keeping its interface clean and easy to navigate. Smooth performance and simple design really stand out. More info here: https://thexuperapk.com/