Open In App

Semantic-UI Icon Set Interfaces

Last Updated : 22 Mar, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

Semantic UI is an open-source development framework that provides pre-defined classes to make our website look beautiful, amazing, and responsive. It is similar to Bootstrap which has predefined classes. It uses jQuery and CSS to create the interfaces. It can also be directly used via CDN like bootstrap. Semantic UI provides the users with various different icons that can be used for different purposes with a beautiful user interface. The icons add more beauty to the website than the textual representation. In this article, let us see about the icon set of Interfaces. Semantic UI provides some most commonly used icon classes for interfaces that represent common actions.

Semantic UI Icon set interfaces classes:

  • *icon interface_class : This class is used to include various icons in interfaces.
<i class="icon....interface_class"></i>

Note: To know all the icon classes you can check this page: https://semantic-ui.com/elements/icon.html#interfaces

Example 1:  This code demonstrates all interface icon set classes.

HTML




<!DOCTYPE html>
<html>
  
<head>
    <link href=
     rel="stylesheet" />
    <script src=
        integrity=
"sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous">
        </script>
    <script src=
    </script>
</head>
  
<body>
    <center>
        <h1 class="ui green header">GeeksforGeeks</h1>
        <strong>
            Semantic-UI Icon Set Interfaces
        </strong>
        <br />
        <br />
  
        <div class="container">
  
            <div class="ui grid">
                <div class="three wide column">
                  <i class="icon big ban"></i>
                </div>
                <div class="three wide column">
                  <i class="icon big barcode"></i>
                </div>
  
                <div class="three wide column">
                  <i class="icon big bars"></i>
                </div>
  
                <div class="three wide column">
                  <i class="icon big beer"></i>
                </div>
  
                <div class="three wide column">
                  <i class="icon big bell"></i>
                </div>
  
                <div class="three wide column">
                  <i class="icon big bell outline"></i>
                </div>
  
                <div class="three wide column">
                  <i class="icon big bell slash"></i>
                </div>
  
                <div class="three wide column">
                  <i class="icon big bell slash outline"></i>
                </div>
  
                <div class="three wide column">
                  <i class="icon big bug"></i>
                </div>
  
                <div class="three wide column">
                  <i class="icon big bullhorn"></i>
                </div>
  
         </div>
        </div>
    </center>
</body>
  
</html>


Output:

Semantic-UI Icon Set Interfaces

Semantic-UI Icon Set Interfaces

Example 2: This code demonstrates an example of interface icon set classes.

HTML




<!DOCTYPE html>
<html>
  
<head>
    <link href=
    rel="stylesheet" />
        integrity=
    "sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous">
        </script>
    <script src=
    </script>
</head>
  
<body>
    <center>
        <h1 class="ui green header">GeeksforGeeks</h1>
        <strong>
            Semantic-UI Icon Set Interfaces
        </strong>
        <br />
        <br />
  
        <div class="container">
  
            <div class="ui icon buttons">
                <button class="ui button">
                    <i class=" wifi large icon"></i>
                </button>
                <button class="ui button">
                    <i class="signal large icon"></i>
                </button>
                <button class="ui button">
                    <i class="microphone large icon"></i>
                </button>
                <button class="ui button">
                    <i class="keyboard large icon"></i>
                </button>
                <button class="ui button">
                    <i class="calendar large icon"></i>
                </button>
            </div>
        </div>
    </center>
</body>
  
</html>


Output:

Reference: https://semantic-ui.com/elements/icon.html#interfaces



Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads