Open In App

Significance of Icons in User Interface Design

Icons are an important part of user interfaces, which are used in expressing objects, actions, and ideas. They are used to communicate the core idea and intent of a product or action. So, they bring a lot of benefits to user interfaces.

What are the Icons Used for?

Icons are used to present information visually. For example, Instead of writing a text message of instruction over a small button, you just design an icon representing that message. That reduces the space that could have been taken by text message and it provides a cleaner and concise user experience.

So, primarily icon is used to communicate the message very rapidly and effectively.

Types of Icons

Key Principles of Icon Design

Creating a Simple Icon in Figma

You can create an icon on any UI design tools like figma, adobeXD etc. I am using Figma to create a simple circular icon. Here, we will understand this with an example.

Note: To generate code out of the created icon in figma use a plugin like anima.

ezgifcom-video-to-gif(22)

Example: Let us create an icon representing GFG logo.

Converting to code using the figma plugin (anima) going to dev mode results into,

<!DOCTYPE html>
<html>

<head>
    <link rel="stylesheet" href="style.css" />
</head>

<body>
    <div class="box">
        <div>GeeksforGeeks</div>
        <div class="group">
            <div class="overlap-group">
                <div class="text-wrapper">G</div>
                <div class="div">G</div>
                <div class="rectangle"></div>
            </div>
        </div>
    </div>
</body>

</html>
    .box {
      width: 265px;
      height: 246px;
      margin:auto;
      text-align: center;
    }
    .box > div:first-child{
        color:green;
        font-size: larger;
    }
    
    .box .group {
      width: 269px;
      height: 246px;
    
    }
    
    .box .overlap-group {
      position: relative;
      width: 265px;
      height: 246px;
    }
    
    .box .text-wrapper {
      width: 213px;
      left: 90px;
      position: absolute;
      top: 0;
      font-family: "Inter-Regular", Helvetica;
      font-weight: 400;
      color: #0abd1c;
      font-size: 217px;
      letter-spacing: 0;
      line-height: normal;
      white-space: nowrap;
    }
    
    .box .div {
        width: 64px;
        left: 80px;
        transform: rotateY(180deg);
        position: absolute;
        top: 0;
        font-family: "Inter-Regular", Helvetica;
        font-weight: 400;
        color: #0abd1c;
        font-size: 217px;
        letter-spacing: 0;
        line-height: normal;
        white-space: nowrap;
    }
    
    .box .rectangle {
        position: absolute;
        width: 154px;
        height: 17px;
        top: 124px;
        left: 50px;
        background-color: #0abd1c;
    }

Output: Click here to see the live output

11

Benefits of Using Icons

Conclusion

Icons are significant. They should serve a purpose. They should help the user do what they need without requiring additional efforts from them. They take up less space on a site than text. It makes the website interface look cleaner and more convenient for eyes.

Article Tags :